Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to return customized JWTs for different client ids #675

Open
janitham opened this issue May 3, 2024 · 0 comments
Open

Need to return customized JWTs for different client ids #675

janitham opened this issue May 3, 2024 · 0 comments

Comments

@janitham
Copy link

janitham commented May 3, 2024

I want to return scopes and audiences by different client_id s of the token requests as follows,
{ "interactiveLogin": true, "httpServer": "NettyWrapper", "loginPagePath": "/app/login/login.example.html", "staticAssetsPath": "/app/static", "tokenCallbacks": [ { "issuerId": "issuer1", "tokenExpiry": 120, "requestMappings": [ { "requestParam": "client_id", "match": "service.all", "claims": { "aud": [ "anyAud" ], "scope": "myscopes" } } ] }

But this only works when the scope is given in the requestParam and the same scope is given in the token request as additional scopes (I use Postman).

image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant