You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Limit roles in token possible when using UMA/token exchange?
#14519
When user goes to a certain front end page vue requests our backend like this:
Vue -> backend (REST) -> backend does a token exchange ( from frontend to backend client ) and uses UMA to get available resources based on the roles that the logged in user has.
We are seeing that the client role part of our backend client are getting quite large, we are not utilizing the role part since we are asking through UMA and are inspecting permissions instead.
So is it somehow possible to avoid having the roles listed in our access token for the backend, we have tried removing them from our token but just get a permission denied? And still use UMA / RPT ala this
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hi we are using keycloak like this
Vue -> Keycloak Frontend client
When user goes to a certain front end page vue requests our backend like this:
Vue -> backend (REST) -> backend does a token exchange ( from frontend to backend client ) and uses UMA to get available resources based on the roles that the logged in user has.
We are seeing that the client role part of our backend client are getting quite large, we are not utilizing the role part since we are asking through UMA and are inspecting permissions instead.
So is it somehow possible to avoid having the roles listed in our access token for the backend, we have tried removing them from our token but just get a permission denied? And still use UMA / RPT ala this
All reactions