
dadl9 (dadl9) asked a question.
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.
When I click preview I'm able to see the value I want.
But when I sign in from my spring boot app or use the /userinfo API, its not present
Can someone help with this?

So from what I understand, you want the token to return to the app (after authentication) a listing of groups or a specific group that a particular individual is a member of?
Thanks
I experience the same issue: https://support.okta.com/help/s/question/0D54z00008MLMXlCAP/how-to-get-custom-claimsmappings-in-userinfo?language=en_US
Hi @dadl9 (dadl9),
Thank you for posting on the Okta community page!
I have done some research and I am not sure that you could send the custom attribute without having the information in the token as well but I have managed to find the below article that might be helpful:
My advice would be to also leverage the Okta Developer forums for this type of questions and take advantage of their expertise.
------------------------------------------------------------------------------------------------------------------------------------------------
Join us in the Oktane discussion group to connect with attendees or just stay connected to the event.