We have two applications which are
-
Native Mobile App - API based authentication is implemented using custom login screen (not a browser based login).
-
React based Single Page Web App - React based Okta SDK is used for authentication.
As mentioned above, both the apps have their own authentication. We have a requirement where the SPA is expected to be shown in a native mobile app. The end user will be authenticated in the mobile app and the session/id token is expected to be carried over to the web app, which is shown in a webview inside native mobile app. The user is not expected login again on the web app. We tried to implement this but couldn’t get it to working. Looking forward to your expert thoughts on this approach.