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

1921
4
Jump to solution
12-22-2020 02:03 AM
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

0 Kudos
1 Solution

Accepted Solutions
DavidPike
MVP Frequent Contributor
4 Replies
DavidPike
MVP Frequent Contributor
by Anonymous User
Not applicable

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 

0 Kudos
TaslimaKhandaker1
New Contributor

Have you figured this out by chance?

0 Kudos