<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z000082s1wUCAQOkta Classic EngineAPI Access ManagementAnswered2022-09-07T20:14:09.000Z2022-09-06T16:12:07.000Z2022-09-07T20:14:09.000Z
Is it possible to include a custom claim which is a flag to indicate whether a group membership changed for a user?

Hello,

 

We have a custom claim with a list of user groups, which are returned as part of the user info endpoint call. The user group itself is sourced from Active Directory.

 

Would it be possible to include a custom flag in the access token to indicate whether or not the group membership has changed for a user?

 

For example, if a user has been removed or added to a group, set the claim membership_changed: true. This will allow me to avoid an unnecessary user info endpoint calls to get group info.

 

That being said, I could include the group claim in the access token and this would avoid the situation altogether. However, I would like the group info to be returned as part of the user info endpoint call.

 

Thank you!

 


This question is closed.
Loading
Is it possible to include a custom claim which is a flag to indicate whether a group membership changed for a user?