Connect to session from Android to Chrome Custom Tab

Hello,

We are trying to preserve a session that was created in an Android Native App and preserve it through to a Chrome Custom Tab. Is this possible?

I have been following this: https://github.com/okta/okta-oidc-android/issues/188 but it appears that it may not be possible because a cookie would need to be set on the chrome tab, which has less access to cookies than a web view.

We are using this natively to manage session:

When launching the chrome tab, would this work?
Launch url with redirect to url with session token retrieved from oidc? https://developer.okta.com/docs/guides/session-cookie/overview/#retrieving-a-session-cookie-via-openid-connect-authorization-endpoint

Thanks

the session token can only be retrieved after a successful okta authentication, so in order to get the tokens, it would still require a second login if there is no session cookie available.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.