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 fetching user claims through the userinfo_endpoint on upstream OAuth 2.0 logins #2088

Open
matrixbot opened this issue Sep 10, 2024 · 2 comments · May be fixed by #3363
Open

Allow fetching user claims through the userinfo_endpoint on upstream OAuth 2.0 logins #2088

matrixbot opened this issue Sep 10, 2024 · 2 comments · May be fixed by #3363
Labels
A-Configuration Related on what is configurable and how it can be configured A-Upstream-OAuth Related to login via upstream OAuth 2.0 providers

Comments

@matrixbot
Copy link
Collaborator

This issue was originally created by @sandhose at matrix-org/matrix-authentication-service#2088.

We currently extract user claims through the ID token. In some cases, we would like to fetch instead the userinfo endpoint to get those infos, especially on non-OIDC providers

Part of #2080

@matrixbot matrixbot added A-Configuration Related on what is configurable and how it can be configured A-Upstream-OAuth Related to login via upstream OAuth 2.0 providers labels Sep 10, 2024
@matrixbot
Copy link
Collaborator Author

This comment was originally posted by @hughns at matrix-org/matrix-authentication-service#2088 (comment).

Using https://matrix-org.github.io/synapse/latest/openid.html as the basis, the following rely on the Synapse userinfo_endpoint setting:

  • Gitea
  • Twitter
  • GitHub
  • Mastodon

@matrixbot
Copy link
Collaborator Author

This comment was originally posted by @pmaier1 at matrix-org/matrix-authentication-service#2088 (comment).

We decided that this isn't required for the next milestones as we're not focusing on the OPs mentioned in matrix-org/matrix-authentication-service#2088 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Configuration Related on what is configurable and how it can be configured A-Upstream-OAuth Related to login via upstream OAuth 2.0 providers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant