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

feat(jans-config-api) : add feature to include custom-claims in user-info endpoint of admin-ui plugin #2969

Closed
3 tasks done
duttarnab opened this issue Nov 13, 2022 · 0 comments · Fixed by #2970
Closed
3 tasks done
Assignees
Labels
comp-jans-config-api Component affected by issue or PR enhancement kind-feature Issue or PR is a new feature request

Comments

@duttarnab
Copy link
Contributor

duttarnab commented Nov 13, 2022

The claims added to the session in the authentication script should be fetched in the user-info endpoint of the admin-ui plugin.

This is especially useful when we need to add some claims from the InBound custom script to jans user-info endpoint response.

  • create GitHub Inbound custom script. The script will also add GitHub username and access_token in the session.
  • create a GitHub Introspection script to add GitHub claims from the session to the Introspection response.
  • In the admin-ui plugin add the GitHub claims in the user-info response.
@duttarnab duttarnab added comp-jans-config-api Component affected by issue or PR enhancement labels Nov 13, 2022
@duttarnab duttarnab self-assigned this Nov 13, 2022
@mo-auto mo-auto added the kind-feature Issue or PR is a new feature request label Nov 13, 2022
@moabu moabu added this to the 1.0.5 milestone Nov 14, 2022
yuriyz pushed a commit that referenced this issue Nov 16, 2022
…dmin-ui plugin #2969 (#2970)

* feat: add feature to include custom-claims in user-info endpoint of admin-ui plugin #2969

* feat: add feature to include custom-claims in user-info endpoint of admin-ui plugin #2969

* feat: add feature to include custom-claims in user-info endpoint of admin-ui plugin #2969

* feat: add feature to include custom-claims in user-info endpoint of admin-ui plugin #2969
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-jans-config-api Component affected by issue or PR enhancement kind-feature Issue or PR is a new feature request
Projects
None yet
3 participants