<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
0D51Y0000AFtYbASQVOkta Classic EngineOkta Integration NetworkAnswered2021-01-21T19:45:54.000Z2021-01-13T05:40:57.000Z2021-01-21T19:45:54.000Z

AdilZ.91533 (Customer) asked a question.

Okta User Profile Custom Attributes

Hi,

 

Hope you are doing good.

 

I'm facing an issue. Actually, I'm trying to get custom attributes in my ReactJS SPA user's response at login time. But I'm unable to get those additional attributes. (In my current case profileUrl or some other custom attributes. At least I should get their empty value to verify it is working and getting the attributes on user response). I have also tried to add scopes to my request. I have followed this https://support.okta.com/help/s/article/How-to-add-custom-attributes-of-user-profile-as-claims-in-token?language=en_US 

 

Using Okta-React SDK for my ReactJS SPA App.

These are the request parameter that I'm using to let users log-in. then on login response, I'm trying to get additional attributes and perform a certain operation based on them.

 

request parameter

https://pasteboard.co/JJoZCS2.png

 

User's response:

https://pasteboard.co/JJoYVFC.png

 

Okta Attributes Mapping:

https://pasteboard.co/JJp0d8y.png

 

Could you please guide me where I'm getting it wrong or correct me? I'm attaching the user response that I got after login, okta attributes mapping, and login request configuration.

 

Looking forward to you.

 

Thank you.

 

Adil


This question is closed.
Loading
Okta User Profile Custom Attributes