<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
0D50Z00008G7VgsSAFOkta Classic EngineSingle Sign-OnAnswered2025-02-27T21:17:39.000Z2018-06-19T15:18:31.000Z2018-06-19T15:18:31.000Z
  • NateV (Okta on Okta)

    Hi John,

     

    Happy to answer. All SDKs from Okta, JavaScript, or server side are wrappers around API. Only Okta way to check existing session is to make API request GET /api/v1/sessions/me which is what the auth SDK does. 

     

    Hopefully that answers your question, let me know if I can help with anything else.

     

    Best,

    Nate
    Expand Post
  • JohnH.72971 (Customer)

    So there isn't an offline (browser only) way to check if the Okta session cookie is still in the browser? I would think there would be a getCookie('cookieName').exist() way of checking for the cookie.
  • NateV (Okta on Okta)

    Hi John,

     

    I double checked with our Developer Support team and the answer is no-there isn't, unfortunately.

     

    Best,

    Nate
    Expand Post
This question is closed.
Loading
How to check if Okta session is still active by checking the browser?