
cwxpc (cwxpc) asked a question.
I would like to use the okta authentication done on the app mobile to access a webapp through a webview.
The goal is to avoid to reprompt the user to reauthenticate when accessing the web view.
Based on the documentation :https://developer.okta.com/docs/guides/session-cookie/main/
I found that i can retrieve the session cookies through the authorization endpoint by passing a sessionToken as a query parameter.
We used the okta signin widget to authenticate the mobile app, how can we retrieve the okta session token to use it in the authorization endpoint ?

Hi @cwxpc (cwxpc) , Thank you for reaching out to the Okta Community!
This question is more appropriate for our dedicated Okta Developer Forum.
My advice would be to reach out devforum.okta.com to take advantage of their expertise.
While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products and features (non-developer work).
In the meantime, perhaps the following documentation will help with your use case:
https://developer.okta.com/docs/guides/shared-sso-android-ios/android/main/
Other discussions on this topic that might be relevant:
https://github.com/okta/okta-react-native/issues/121
If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you.
Hope my answer helps!
--------------------------------
Join us for the Okta Workflows Ask Me Anything (AMA) on Oct 26. Submit your questions today.