How to handle OAuth URL callbacks with Intent filters if authentication is done with webview?

后端 未结 3 937
情深已故
情深已故 2021-02-02 14:35

I am developing an app which uses OAuth for authentication but I have a little problem handling OAuth callbacks.

THE AUTHENTICATION

My app has a

3条回答
  •  [愿得一人]
    2021-02-02 14:54

    Well, first you may need call the URL that is provided by your service provider, if there is any redirect exist you will get HTTP status code 3xx. Next you can try to call the actual URL if there is any redirect exist. For normal HTTP response, you will get HTTP 2xx status code.

提交回复
热议问题