Reputation: 627
When using the authorization code flow, is there any way to receive user's groups in their ID token?
I've tried adding a "Groups claim filter" with "Matches regex" as .*
, but it doesn't help.
Upvotes: 0
Views: 2082
Reputation: 8614
Navigate to Security > API > Authorization Servers, and click on the default
server. Click the Claims tab and Add Claim. Name it groups
, and include it in the ID Token. Set the value type to Groups
and set the filter to be a Regex of .*
. Click Create.
Upvotes: 1