Portal for ArcGIS 10.6 specify the default token expiration time

1663
6
Jump to solution
06-18-2018 12:15 PM
DavidColey
Frequent Contributor

Hi - I am trying to follow the help detailed here:

Specify the default token expiration time—Portal for ArcGIS (10.6) | ArcGIS Enterprise 

but none of the steps here:

  1. Sign in to the ArcGIS Portal Directory as an Administrator of your organization. The URL is in the format https://webadaptorhost.domain.com/webadaptorname/sharing.
  2. Click Portals > Self.
  3. Scroll to the bottom of the page and click Update.
  4. Update the Max Token Expiration Minutes field with the desired value (in minutes). For example, enter 1440 to specify an expiration period of one day.
  5. Click Update Organization to apply your changes.

Seem to work.  That is, there is no 'Update' method at the bottom of the page, nor do I see a Max Token Expiation Minutes field to update

Thanks,

David

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
CodyMarsh
Occasional Contributor

Hello David,

So in that case go ahead and use the updated API for this in the form of  https://webadaptorhost.domain.com/webadaptorname/sharing/rest. Once logged in you will have to navigate back to https://webadaptorhost.domain.com/webadaptorname/sharing/rest as it will redirect you to https://webadaptorhost.domain.com/portal/sharing/rest/community/users/portaladmin. You will be able to see Portals -> Self -> Update.

View solution in original post

0 Kudos
6 Replies
CodyMarsh
Occasional Contributor

Hello David,

When you navigated to the sharing endpoint did you login? In the top right of the page there should be blue text that reads "login." Use credentials that have administrative rights to the Portal and you should see the update button.

0 Kudos
DavidColey
Frequent Contributor

I did but I get a nasty warning that says:

Did you mean /sharing/rest/...? 

You are using an unsupported version of this API located at https://xxxx.xxxxx.net/portal/sharing. Avoid using and/or developing with this unsupported version. There are pitfalls in doing so and no advantages over using the released and supported version of the API, which is logically equivalent. The supported version is located at https://xxxx.xxxxxx.net/portal/sharing/rest/.

DavidColey
Frequent Contributor

and then when I do login I do not see just an 'update' resource or supported operation:

Child Resources:   User Notifications   User Tags   User Invitations   User Properties   Linked Users 

Supported Operations:   Update User   Reassign User   Delete User   Set User Properties   Forgot Password   Reset   Invalidate Sessions   Provisioned Listings   Link User   Unlink User 

Related Resources:   User Content

DavidColey
Frequent Contributor

Sorry, I was able to navigate through to find the update operation by clicking on my org id and so can update the max token lifespan.  I'll go ahead and consider this answered, but the large red-highlighted warning still does appear.  Are there plans to allow these operations:


Child Resources:   Users   Resources   Approved Apps   Invitations   Roles   Check ServiceName . . .  

Supported Operations:   Update  . . . . 

without the warnings?

CodyMarsh
Occasional Contributor

Hello David,

So in that case go ahead and use the updated API for this in the form of  https://webadaptorhost.domain.com/webadaptorname/sharing/rest. Once logged in you will have to navigate back to https://webadaptorhost.domain.com/webadaptorname/sharing/rest as it will redirect you to https://webadaptorhost.domain.com/portal/sharing/rest/community/users/portaladmin. You will be able to see Portals -> Self -> Update.

0 Kudos
DavidColey
Frequent Contributor

Great thanks will do.  Hopefully 10.6.1 or 10.6.2 will have an update on this so we don't get the warnings . .  .