How to change ID token's lifetime Skip to main content
https://support.okta.com/help/answers?id=9060z000000jjbeqas&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Michael ChangMichael Chang 

How to change ID token's lifetime

I'm using Open Connect API, I think the ID token's lifetime is 1 hour, Is it possible to change the lifetime?
Best Answer chosen by Dylann Fezeu (Customer First Programs)
Aleks BulajicAleks Bulajic (Okta, Inc.)
Hi Michael,

Thanks for reaching out to the Support Community today! For ID tokens, the lifetime is indeed set to 1 hour and cannot be modified at this time. The only token that can be modified is the Access tokens which can be refreshed to generate new access tokens.

Additional information on how to refresh Access tokens can be found here: https://developer.okta.com/authentication-guide/tokens/refreshing-tokens

Thank you!

Aleks Bulajic
Technical Support Engineer
Okta Global Customer Care

All Answers

Aleks BulajicAleks Bulajic (Okta, Inc.)
Hi Michael,

Thanks for reaching out to the Support Community today! For ID tokens, the lifetime is indeed set to 1 hour and cannot be modified at this time. The only token that can be modified is the Access tokens which can be refreshed to generate new access tokens.

Additional information on how to refresh Access tokens can be found here: https://developer.okta.com/authentication-guide/tokens/refreshing-tokens

Thank you!

Aleks Bulajic
Technical Support Engineer
Okta Global Customer Care
This was selected as the best answer
Jitu DasJitu Das
This information is really helpfull, i was also looking for similar things, and explained very detailed way. Thanks a lot.