Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oauth and SSO in WKWebview #214

Closed
afmsxpand opened this issue Apr 16, 2020 · 1 comment
Closed

Oauth and SSO in WKWebview #214

afmsxpand opened this issue Apr 16, 2020 · 1 comment
Labels

Comments

@afmsxpand
Copy link

afmsxpand commented Apr 16, 2020

Hi,

I'm using the signInWithBrowser option to signin the user, but then i can't find a way to "inject" this session into a WKWebview that needs to show a Tableau dashboard (configured with SAML).

What i did

from the documentation i think i can add a session cookie to the webview but all of the methods require a session token that i don't know how to retrieve using this SDK...

@IldarAbdullin-okta
Copy link
Contributor

Hi @afmsxpand ,

I think you definitely need to enable persistent cookies on Okta side. Then as a next step I would try to authenticate via AuthN SDK, get session token and exchange it to access token view OIDC authenticate method. Then load a web view and check whether SSO works or not

Ildar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants