<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00006Da2qtSABOkta Classic EngineSingle Sign-OnAnswered2024-03-26T15:37:19.000Z2019-05-02T19:29:45.000Z2019-05-03T20:12:34.000Z

DavidV.49559 (Phoenix Contact) asked a question.

Persitent Okta session cookie after browser close

I think I understand the documentation correctly but I wanted to reach out and see if this is possible. We are trying to replicate a previous solution using Keycloak, in which a persistent cookie was created by Keycloak when "Remember Me" was chosen by the user at logon.

 

The scenario involves logging in to our web app using standard OpenID Connect Authentication Code flow. We are using OpenResty + lua-resty-openidc module to act as the client on the web server. This module creates a short lived session cookie in the browser containing access_token, id_token & refresh_token. It will refresh the access_token on expiry (as long as refresh_token is valid).

 

I do not see a way to persist the session with Okta in order to support closing the browser and staying logged in when the browser is opened again. It seems that the session with Okta is never persisted, I can only change the session lifetime. Does Okta support this behavior?


  • dan.stroe1.544484992092096E12 (Vendor Management)

    Hi David,

     

    My name is Dan and I'm with the Okta Global Customer Team.

    We do not control the session on the SP side.

    Furthermore, if this feels like a need to reconfigure the flow, that can help you what you are trying to achieve, kindly open up a support ticket so we can review your configuration.

     

    It will be our pleasure to successfully assist you throughout your implementation.

     

     

     

    Dan Stroe

    Technical Support Engineer

    Okta Global Customer Care

    Expand Post
This question is closed.
Loading
Persitent Okta session cookie after browser close