Arcgis for portal token expiration minutes unable to extend more than 2 weeks

191
3
Jump to solution
12-22-2020 02:03 AM
Labels (1)
abdulmateen1
New Contributor

ArcGis for Portal 10.6.1 ,

https://portalserver.domain.com/portal/sharing/rest/portals/xyz/update

Trying  to update Max Token Expiration Minutes to 3 months i,e 129600

Error: 'maxTokenExpirationMinutes' parameter invalid

Capture.JPG

 It is accepting if entered values is less than equal to 2weeks only.But more than 2weeks value is invalid.

Is it ArcGis for portal allows to update max token expiration to more than 2weeks.If yes than how, else what is the alternate solution.

Presently ArcGis for portal is configured to SAML authentication, therefore Token is created for Portal Builtin user for public use editing hence min 3 months expiration is needed.

Thanking you anticipation

Reply
0 Kudos
1 Solution

Accepted Solutions
DavidPike
MVP Regular Contributor
3 Replies
DavidPike
MVP Regular Contributor
JamesKeech
Esri Contributor

Hi @abdulmateen1,

David is spot on here, two weeks is the maximum value accepted by Portal for ArcGIS. 

Regards,

James 

abdulmateen1
New Contributor

Thanks David, James for the prompt reply,

if max 2weeks is allowed then what is alternate solution to hide credentials from public user, because from f12 developer tools user can see credentials being passed to generate token.

We need to hide credentials from public user for accessing feature service insert operation. 

Thanks 

Reply
0 Kudos