nxtbgthng / OAuth2Client

Client library for OAuth2 (currently built against draft 10 of the OAuth2 spec)
855 stars 217 forks source link

Is it possible to redirect to my app via mobile safari when application settings page doesn't allow myapp:// format? #146

Open umekun123 opened 10 years ago

umekun123 commented 10 years ago

I want to use OAuth2 authentication using mobile safari since it looks safer than using UIWebview to users.

However, the application settings page of the service I am working on sends an error message saying Not a valid URL format when I set a URL scheme value like myapp:// on redirect URL.

In this case, I cannot make the mobile safari redirect to my app for authentication, and I am supposed to use UIWebview anyway?

PS: I am asking for making it possible to set myapp:// formart in the application settings via dev support mail of the application, but not sure if this is the only way.