<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
0D54z00008U65EcCAJOkta Classic EngineSingle Sign-OnAnswered2022-12-14T18:37:59.000Z2022-12-07T17:16:39.000Z2022-12-14T18:37:59.000Z

CallumB.23656 (Customer) asked a question.

How To Refresh a Session/SSO Token In Okta With Regards To SSO

Hi Team,

 

Please excuse my ignorance as I am not a native Okta user, and use Okta for labbing issues in my environment.

 

I have looked through some KBs about my above query, but all lead me to the Okta Dev side of things (maybe I am not searching with the correct syntax).

 

Is there a way where I can reset/refresh an Okta SSO session token in the Okta dashboard?

 

The use case is that my users would have to use my native application to reauthenticate with Okta as the IDP once more.

 

I have tried clearing the local caches with regard to my native application, but that still does do the trick.

 

Thanks!!


  • flaviu.vrinceanu1.5628408972654734E12 (Customer Success Service Delivery)

    Hi @CallumB.23656 (Customer)​,

     

    Thank you for posting on the Okta community page!

     

    I have done some research and based on the information provided, from Okta's side you cannot end the application's session in order to force the users to re-authenticate. You can clear the users Okta sessions by going on the user's profile in Okta >> More Actions >> Clear User Sessions and this way, when your application will ask for re-authentication and the user will be directed to Okta, they will be forced to authenticate again in their Okta environment. You can also clear a user's Okta session through APIs as shown in the documentation provided below:

     

    Additionally, you can refresh the access and ID tokens as explained in the articles provided below but this only applies to certain types of SSO methods (e.g. OIDC) :

     

    ------------------------------------------------------------------------------------------------------------------------------------------------

    Community members help others by clicking Upvote or Select as Best on responses. Try it today.

    Expand Post
    Selected as Best
  • flaviu.vrinceanu1.5628408972654734E12 (Customer Success Service Delivery)

    Hi @CallumB.23656 (Customer)​,

     

    Thank you for posting on the Okta community page!

     

    I have done some research and based on the information provided, from Okta's side you cannot end the application's session in order to force the users to re-authenticate. You can clear the users Okta sessions by going on the user's profile in Okta >> More Actions >> Clear User Sessions and this way, when your application will ask for re-authentication and the user will be directed to Okta, they will be forced to authenticate again in their Okta environment. You can also clear a user's Okta session through APIs as shown in the documentation provided below:

     

    Additionally, you can refresh the access and ID tokens as explained in the articles provided below but this only applies to certain types of SSO methods (e.g. OIDC) :

     

    ------------------------------------------------------------------------------------------------------------------------------------------------

    Community members help others by clicking Upvote or Select as Best on responses. Try it today.

    Expand Post
    Selected as Best
  • CallumB.23656 (Customer)

    Hey @flaviu.vrinceanu1.5628408972654734E12 (Customer Success Service Delivery)​ appreciate your research on this! Thanks for the information, I've actually found out that our application natively stores a token in the backend DB after authenticating. So, even if I was to clear the cache, and refresh on Okta. I am still going to be able to authenticate due to this.

     

    Thanks!

    Expand Post
This question is closed.
Loading
How To Refresh a Session/SSO Token In Okta With Regards To SSO