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

OIDC: Sign up #25393

Closed
andybalaam opened this issue May 17, 2023 · 1 comment · Fixed by matrix-org/matrix-react-sdk#11727
Closed

OIDC: Sign up #25393

andybalaam opened this issue May 17, 2023 · 1 comment · Fixed by matrix-org/matrix-react-sdk#11727

Comments

@andybalaam
Copy link
Contributor

andybalaam commented May 17, 2023

Support sign-up via native OIDC in Element Web. Refer to https://areweoidcyet.com/client-implementation-guide/ for guidance. (You will need to find out what OIDC is before you can understand it.)

You will almost certainly need to break this story up into smaller parts before implementing it.

Below, we assume that #25392 is already done.

Currently, Element Web only supports signing up for Matrix-based authorisation.

This task is use the information about whether the homeserver supports OIDC to decide whether to offer sign-up via that, and then to send the user to the OIDC web UI for sign-up if the user so chooses.

TODO: should we also offer legacy sign-up, or do we ONLY offer OIDC if it's available?

Screenshot 2023-10-09 at 15 20 24
  1. Do not query for registration methods/show error
  2. Use OIDC discovery openid-configuration, check for create in prompt_values_supported
  3. Where supported, add a register button that starts an OIDC auth flow with prompt=create
@andybalaam andybalaam changed the title OIDC: Discover the OIDC Web UI using .well-known OIDC: Sign up May 25, 2023
@kerryarchibald
Copy link
Contributor

Screenshot 2023-10-09 at 15 20 24
  1. Do not query for registration methods/show error
  2. Use OIDC discovery openid-configuration, check for create in prompt_values_supported
  3. Where supported, add a register button that starts an OIDC auth flow with prompt=create

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.

3 participants