Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Oidc userinfo #677

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

Merged
merged 8 commits into from
Aug 1, 2019
Merged

Oidc userinfo #677

merged 8 commits into from
Aug 1, 2019

Conversation

JonathanHuot
Copy link
Member

Add the UserInfo endpoint for the OIDC Provider side. For simple use-cases, the goal is to use the RequestValidator:

  • the existing validate_bearer_token is called with openid scope to validate the token
  • a new get_userinfo_claims is called to return a list of claims as a dict

For more complex use-cases, the get_userinfo_claims can return a JWT/JWS/JWE and the framework will adapt accordingly.

@JonathanHuot JonathanHuot added Feature OIDC OpenID Connect labels May 13, 2019
@JonathanHuot JonathanHuot added this to the 3.1.0 milestone May 13, 2019
@JonathanHuot JonathanHuot requested review from wiliamsouza and skion May 13, 2019 09:39
@JonathanHuot JonathanHuot self-assigned this May 13, 2019
@JonathanHuot JonathanHuot mentioned this pull request Jul 23, 2019
Copy link

@tribals tribals left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only notable thing is inconsistency of used quotes. May be some linter/automatic code formatter can help with that? 🙂

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

Successfully merging this pull request may close these issues.

2 participants