Reputation: 1761
When using AppAuth (v 0.90.0) for Google OAuth authentication on my iOS app, specifically for iOS 11, the following happens:
http://myproduct.com/oauth-redirect
. Because the client ID is that of a web application, I'm not able to specify a custom URL.http://myproduct.com/oauth-redirect
redirects to a custom URL myproduct://auth
, and SFAuthenticationSession completion block runs with a callback URL of myproduct://auth
. http://myproduct.com/oauth-redirect
and myproduct://auth
are different, the flow stops. Note that I'm using a web app clientID so that I can perform token exchange on the server side.
In the previous AppAuth version, this was possible because I was able to call resumeAuthorizationFlowWithURL
directly with the updated URL.
Is there a way to support this use case without having to update AppAuth?
Upvotes: 4
Views: 1460