Hi, I have an ios app that opens a webview using auth0-spa-js and would like to enable auto login on that webview.
read an old post wanting to achieve the same How to do SSO between iOS app and React SPA in same organization? - #2 by Abhishek_Hingnikar1
but I still can’t understand what’s the actionable in the context of ios and the webview.
- The user arrives to your app. Your app sees no session and initiates login using the WebAuth method in the iOS / Swift SDK. At this point your application will get a
refresh_tokenwhich the app use to keep the user logged in.
Ok, i can get the
refresh_token, what should I do with it?
Is this done on the web application side or the webview url? Need more info on this please
Thank you in advanced!
SDK: pod ‘Auth0’, ‘~> 1.13’, auth0-spa-js v1.15.0
Platform: ios 14.5