You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
Tried to get the cookies from HTTPCookieStorage.shared.cookies after login and inject them into my WKWebview before loading the Tableau URL....still same problem.
Send the Bearer token in Authorization Header of the request that is loaded in webview
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...
The text was updated successfully, but these errors were encountered:
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
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
I've changed the
usePersistentCookie
as stated in Using the native login w/ this lib how can I SSO into an embedded webview okta-auth-swift#98 but Tableau is still asking for login.Tried to get the cookies from
HTTPCookieStorage.shared.cookies
after login and inject them into my WKWebview before loading the Tableau URL....still same problem.Send the Bearer token in Authorization Header of the request that is loaded in webview
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...
The text was updated successfully, but these errors were encountered: