Select to view content in your preferred language

Max Token Expiration Minutes in Portal?

180
1
Jump to solution
02-05-2025 03:03 PM
TimHayes3
Frequent Contributor

What is the Max Token Expiration Minutes that can be set in in Portal 10.6.1 or Portal 11.3?

The default is 2 weeks. Is there a way to extend the token expiration to 1 year or more?

Thanks. 

0 Kudos
1 Solution

Accepted Solutions
RyanUthoff
MVP Regular Contributor

It depends on what token you use, but below are the maximum token expiration minutes in Portal (even if you specify a value larger than the maximum, it won't honor it and will use the maximum supported value).

https://enterprise.arcgis.com/en/portal/11.3/administer/windows/specify-the-default-token-expiration...

  • ArcGIS token—14 days (20,160 minutes)
  • OAuth access token, when created with the Implicit or Client Credentials grant types—14 days (20,160 minutes)
  • OAuth access token, when created with the Authorization Code grant type—30 minutes
  • OAuth refresh token—90 days (129,600 minutes)

View solution in original post

1 Reply
RyanUthoff
MVP Regular Contributor

It depends on what token you use, but below are the maximum token expiration minutes in Portal (even if you specify a value larger than the maximum, it won't honor it and will use the maximum supported value).

https://enterprise.arcgis.com/en/portal/11.3/administer/windows/specify-the-default-token-expiration...

  • ArcGIS token—14 days (20,160 minutes)
  • OAuth access token, when created with the Implicit or Client Credentials grant types—14 days (20,160 minutes)
  • OAuth access token, when created with the Authorization Code grant type—30 minutes
  • OAuth refresh token—90 days (129,600 minutes)