laptop and a wrench

Bug

Portal for ArcGIS REST API successfully generates tokens where the maximum expiration time requested is greater than actual expiration.

Last Published: January 8, 2018 Portal for ArcGIS
Bug ID Number BUG-000106724
SubmittedJuly 20, 2017
Last ModifiedFebruary 13, 2025
Applies toPortal for ArcGIS
Version found10.5.1
Operating SystemWindows OS
Operating System Version2012 R2
StatusWill Not Be Addressed

Additional Information

This is an expected behavior. The maximum length of time a token can be generated for is defined with the 'maxTokenExpirationMinutes' under /sharing/rest/portals/self. The maximum value that can be set is 20160 minutes (2 weeks). If a generate token request is made with a value greater than this maximum, the token is created but with an expiration that matches this maximum.

Steps to Reproduce

Bug ID: BUG-000106724

Software:

  • Portal for ArcGIS

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options