Automatic Group Assignment depending on the Auth token info

07-13-2021 04:38 AM
New Contributor III


We have successfully setup OpenID Connect login to the ArcGIS Portal.

When the user access the portal trough our identity provider (Identity Server 4), a user is automatically created and he gets the default groups that are setup in "New member defaults".

What we are wondering is if there is way for us to automatically assign the user to groups according to some claims in the access token or some parameters in the user info object?

We are aware of the API that can be use to assign user to group programmatically and we are using that to make sure that the user groups are consistent with our our authorization system, but we want to make sure they are correctly assign on the first login (in order to avoid the situation where the user does not have group until the synchronization is run)

0 Replies