How to override the existing session cookie with a new sessionToken
Hi, We want to have update the session cookie in the browser once we want to do oidc flow with a new sessionToken. Currently we just logout the current session and then rediect to authorize enpoint. Is there any better way to do it implicitly?
If the user still has a valid session at Okta, you can simply make an additional authorize call without a sessionToken. If the authorize call fails because the session is invalid, you could prompt for auth in your app to get another sessionToken to pass in another authorize call.
Hi Thomas, Thanks for your reply. The scenario is a user wants to login and authorize with the new session token, while there is already another session existing that logging in by another user. Is there a way we can override that session cookie without we logout the previous session and then authorize with the new session token