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

Login with compat SSO email requires email address #3112

Open
dklimpel opened this issue Aug 13, 2024 · 2 comments
Open

Login with compat SSO email requires email address #3112

dklimpel opened this issue Aug 13, 2024 · 2 comments

Comments

@dklimpel
Copy link
Contributor

dklimpel commented Aug 13, 2024

What I did:

  • create a new user with cli without mail address
  • set email_change_allowed to false
  • login with SSO with Synapse-Admin with the new user
    • login via /login, /complete-compat-sso
  • MAS redirects to /add-email
    • returns error 500

Apparently there is an obligation to use a mail address.

Version: MAS 0.10.rc0

@sandhose
Copy link
Member

MAS still requires for now that users have a valid primary email address to do any kind of client login (compat or OAuth 2.0).
The feature to make that optional is tracked in #1505
A way to work around this is to register the user using the CLI with a dumb email.

What's not normal is the 500 error you get on /add-email

@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#3112

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

No branches or pull requests

3 participants