Oauth2 Redirect URI for android application
Asked Answered
T

1

6

I have created my own webservice which is protected by Oauth2. I am currently using restlet for this. It makes sense providing a redirect url when you are developing a javascript client on a certain url, but what redirect uri do you provide when you are calling from a WebView.

I currently just make it redirect to localhost and register that to the oauth authorization server. Can anyone tell me if that is the correct way of handling this or am I getting this completely wrong? The redirect page can ofcourse not be found on the android device, but you can fetch the token from the url which was appended to the localhost url.

Telephone answered 26/5, 2013 at 18:28 Comment(2)
Is your problem solved?Cacophony
I know a solution on flutter :/Deandreadeane
E
3

you can make your own URL schema and use it for redirect URL check this link for customize your schema

Errolerroll answered 27/5, 2013 at 8:7 Comment(1)
As per info given on Google developer console, the schema should be only http or https.Cacophony

© 2022 - 2024 — McMap. All rights reserved.