<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
0D5WR00001qJg0g0ACOkta Classic EngineAuthenticationAnswered2026-07-10T15:10:40.000Z2026-07-02T09:55:48.000Z2026-07-10T15:10:39.000Z

AkhilV.62094 (Customer) asked a question.

Legacy Group claim issue-Implicit Flow

Hi team,

We have a group claims issue for OIDC app-Implicit Flow, when Okta is not generating token if user’s group claim exceeds 100.

Legacy Group claim we are using:

 

/help/servlet/rtaImage?refid=0EMWR00000a9QHv 

 

The Okta solution page ( https://support.okta.com/help/s/article/error-the-groups-claim-matched-too-many-groups-and-must-be-configured-to-match-fewer-groups?language=en_US ) suggests we split the tokens, but for that we need to use Token claims, instead of legacy which supports only one claim.

 

We tested Token claims with this expression: user.getGroups({‘group.type’: {‘OKTA_GROUP’}}, {‘group.profile.name’: {‘dcms’}}).![profile.name].

 

Now it turns out we can’t use the exact regex with the new tokens: https://support.okta.com/help/s/article/regex-expression-support-with-user-getgroups-function?language=en_US

 

Is there any way we can still use the regex (which is non-negotaible) and overcome the group number limitation?

Also we don’t have any group claims in auth server if that’s of any help.

 

Appreciate the support!


Loading
Legacy Group claim issue-Implicit Flow
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply