
AdilZ.91533 (Customer) asked a question.
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

Hello @AdilZ.91533 (Customer) ,
I've escalated your question to our Customer Support team. They will respond to you shortly here.
Thanks!
Tim
Okta, Inc.
Hi @AdilZ.91533 (Customer) ,
It looks like you already had a case open with our support team and they were able to help you out with this. Let us know if you need anything else!
Thanks!
Tim
Okta, Inc.