<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
0D51Y0000741DLsSAMOkta Classic EngineSingle Sign-OnAnswered2026-04-01T09:00:20.000Z2019-11-15T15:14:57.000Z2019-11-27T21:06:36.000Z

shyams.82017 (Customer) asked a question.

Is it possible to get some customer values back from user profile, in the accessToken as i need some role based permission for my SPA app??

I have set a custom attribute for all users who have access to my SPA app(some thing like userType value range from 2 - 42 in profile editor). Now i m implementing AUTH code flow with openId, need to retrieve this userType value from token, so that my SPA can do some Role base modification on the app. Is is possible. If yes plz provide some info. If not what a workaround to get the some unique value to achieve this.??


  • t529b (t529b)

    On the Directory tab, select Profile Editor, then locate the user profile for your app and just add your custom attribute to the profile.

    Selected as Best
  • t529b (t529b)

    On the Directory tab, select Profile Editor, then locate the user profile for your app and just add your custom attribute to the profile.

    Selected as Best
This question is closed.
Loading
Is it possible to get some customer values back from user profile, in the accessToken as i need some role based permission for my SPA app??