<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
0D54z0000AJRg13CQDOkta Classic EngineAuthenticationAnswered2026-03-21T09:00:50.000Z2025-02-14T11:36:59.000Z2025-02-28T16:57:14.000Z

vfaxl (vfaxl) asked a question.

Include group profile attributes in SAML/OIDC claims/assertions

In Okta you can create custom attributes for group profiles. However, if someone is a member of a group with such an attribute, these are not included in claims when they authenticate with okta. There also does not seem to be anyway to refer to these attributes using Okta expression language. The only workarounds I can seem to find are:

  1. Inline hook: Use a hook to modify assertion/tokens with the group attributes.
  2. Group rules. Use group rules as a pseudo group attribute. Instead of setting a group attribute, create a rule to add members of that group to another group that represents that attribute. For example, instead of adding an attribute "Y: true" to a group X; create a group rule that makes everyone in X also a member of a new group Y. However, there is a limit of 2000 group rules per Okta org which greatly limits this approach.

Is there no easier way to achieve this?


This question is closed.
Loading
Include group profile attributes in SAML/OIDC claims/assertions