Getting a User Token inside iOS App

Redirect to a website.
Then have the website redirect to your custom handler.

This is what I currently use in a released mobile app on iOS and android.

Under iOS the module/plugin I use utilises ASWebAuthenticationSession under the hood

I send the user to https://mywebsite/ which does all the oauth
Then when it has a token my website will redirect to customhandker://success?token=foo then I parse out the token.

1 Like