JanssenProject / home

Head to https://github.com/JanssenProject/jans

Home Page:https://jans.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Explore possibility of an automated way to add claims to the access token.

VSARATOV opened this issue · comments

Currently we have a way to configure scopes and claims for Userinfo and it works great. In order to flag which of those claims should also be included in the JWT Access Token today we must use an interception_script which adds all userclaims in access token. An example of such script where we add user role in access token can be found here: https://raw.githubusercontent.com/GluuFederation/gluu-gateway-setup/version_4.2.0/gg-demo/introspection_script.py

JanssenProject Enhanvement Request - Can we explore some automated way to add claims to the access token? For example to flag the subset of scope claims that, when Issued as JWT, should also end up in access token?

Moved to auth_server repository.