<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
0D54z00008LTu0NCATOkta Classic EngineIntegrationsAnswered2024-05-10T21:34:06.000Z2022-11-09T15:38:42.000Z2022-11-11T00:21:45.000Z

dadl9 (dadl9) asked a question.

Unable to access custom attributes on sign in

I am trying to add a custom string array attribute to my Okta app. My client needs to access this custom attribute when a user signs into my app using Okta. I have added the attribute to the app from the Directory -> Profile editor tab (GroupsName is the field I'm interested in). Note: I don't want this custom attribute as part of the access token - I want it as an attribute I get on sign in.

Image is not available

When I click preview I'm able to see the value I want.

Image is not available

But when I sign in from my spring boot app or use the /userinfo API, its not present

Image is not available

Can someone help with this?


This question is closed.
Loading
Unable to access custom attributes on sign in