You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a question. I hope this is the appropriate place to ask this.
I am working with the AspNet.Security.OAuth.ArcGIS provider and everything is working quite well. However, I need to add additional claims from an alternate endpoint, specifically the portal/sharing/rest/community/users/{username} endpoint. Here we are able to determine the groups that the user belongs to and add various claims based on those groups.
Would an appropriate place to put this logic be in OnCreatingTicket?
I will need to issue a new GET with the recently obtained username and access token and await its response.
Is there a better location to place this custom logic?
The text was updated successfully, but these errors were encountered:
OnCreatingTicket is a good option to add extra claims - for example, I've used it to add extra claims when logging in with GitHub based on the user's organisations.
This is a question. I hope this is the appropriate place to ask this.
I am working with the
AspNet.Security.OAuth.ArcGIS
provider and everything is working quite well. However, I need to add additional claims from an alternate endpoint, specifically theportal/sharing/rest/community/users/{username}
endpoint. Here we are able to determine the groups that the user belongs to and add various claims based on those groups.Would an appropriate place to put this logic be in
OnCreatingTicket
?I will need to issue a new GET with the recently obtained username and access token and await its response.
Is there a better location to place this custom logic?
The text was updated successfully, but these errors were encountered: