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

support nested claims #36

Open
juliantaylor opened this issue Apr 11, 2019 · 1 comment
Open

support nested claims #36

juliantaylor opened this issue Apr 11, 2019 · 1 comment

Comments

@juliantaylor
Copy link

some oidc providers like for example https://github.com/dexidp/dex produce jwt's with claim fields nested.

For example:

{
  "iss": "..."
  "federated_claims": {
    "connector_id": "ldap",
    "user_id": "userid"
  }
}

As far as I can tell this module does not support these claims for e.g. Require jwt-claim or AuthJWTAttributeUsername

Would it make sense to add support for these type of claims in this module?
E.g. via federated_claims.user_ud

@AnthonyDeroche
Copy link
Owner

Hello,
Yes it would be a great improvement. As I have no time to spend for this, some help would be great.
Anthony

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

No branches or pull requests

2 participants