0

I have created a connected app in Salesforce. Using that connected app i am able to use the credentials of Salesforce for authentication in my external app.

i can get most of the user information (e.g. email, address, phone) by decoding the user id_token provided by Salesforce in the callback url.

Can i also get the Profile(e.g. System Administrator, Free user) of the Salesforce logged in user in the id_token, there is a profile attribute in the id_token but it only contains the link of the user profile page in salesforce.

How can i get the user profile/role in this case? Any help is appreciated.

  • Anyone? Please do let me know if i am asking at the wrong place? Thanks for your help in advance. – Ahsan Mar 7 at 7:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.