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
How to allow users to get a signed JWT with aud
#39070
I have a realm with users. I want to allow some of these users to obtain a signed JWT token with a specific aud value.
What I tried:
Create a client.
Add a client role that can be given to users.
-> the client id appears in aud only if I generate a token for a different client. But I want aud to be a single value.
Add a scope mapper that adds the "aud" value.
-> Now it is possible for all users to generate a token.
I dont know how to proceed. What is the best approach to implement 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.
My requirement:
I have a realm with users. I want to allow some of these users to obtain a signed JWT token with a specific aud value.
What I tried:
Create a client.
Add a client role that can be given to users.
-> the client id appears in aud only if I generate a token for a different client. But I want aud to be a single value.
Add a scope mapper that adds the "aud" value.
-> Now it is possible for all users to generate a token.
I dont know how to proceed. What is the best approach to implement this?
All reactions