Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

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

Open
sandhose opened this issue Nov 10, 2023 · 3 comments
Assignees
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

@sandhose
Copy link
Member

sandhose commented Nov 10, 2023

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

@sandhose sandhose added A-Upstream-OAuth Related to login via upstream OAuth 2.0 providers A-Configuration Related on what is configurable and how it can be configured labels Nov 10, 2023
@hughns
Copy link
Member

hughns commented Nov 17, 2023

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

@pmaier1
Copy link
Collaborator

pmaier1 commented Feb 23, 2024

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

@matrixbot
Copy link
Member

For your information, this issue has been copied over to the Element fork of matrix-authentication-service: element-hq/matrix-authentication-service#2088

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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

No branches or pull requests

4 participants