Select to view content in your preferred language

OpenID Connect login based group membership with AWS Cognito

135
0
a month ago
SiCasley
Occasional Contributor

Does anybody have group membership working with a Cognito login? I have set up the oidc login and it works fine, but it wont automatically add my user to a group.

I've set up the group whose membership is controlled by being a member of an OpenID Connect group, and the group name is the same as my group in Cognito.

Here's the groups claim value from the Cognito token:

     'cognito:groups': [ 'test_group' ],
 
My group in AGOL is called test_group
 
Any help would be much appreciated!
0 Kudos
0 Replies