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

Allow users to specify which claims to store #95

Closed
artagel opened this issue Apr 6, 2019 · 3 comments
Closed

Allow users to specify which claims to store #95

artagel opened this issue Apr 6, 2019 · 3 comments

Comments

@artagel
Copy link
Contributor

artagel commented Apr 6, 2019

Add the ability for users to specify the claims they want to store that are coming back from the various auth providers.
Example:
vouch is configured as oidc provider through keycloak, which is tied to active directory. A SSO sign-on sends back a claim for user groups. The user groups are saved by vouch and can be later used in different ways for authentication, sending them as headers, etc.

@bnfinet
Copy link
Member

bnfinet commented Apr 9, 2019

Thanks again for splitting these out @artagel and opening the issues

I'll post some comments to each

@artagel
Copy link
Contributor Author

artagel commented Apr 12, 2019

After discussion on IRC, we want to accomplish the following:

  1. Add custom claim support
  2. Add it to the JWT instead of the user struct
  3. pass them down to nginx using X-Vouch-IdP-Claims-"claim"
  4. Add config item vouch.headers.claims

@bnfinet
Copy link
Member

bnfinet commented May 3, 2019

fixed in #102

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

Successfully merging a pull request may close this issue.

2 participants