matrix-org / matrix-authentication-service

OAuth2.0 + OpenID Provider for Matrix Homeservers
https://matrix-org.github.io/matrix-authentication-service/
Apache License 2.0
112 stars 32 forks source link

Make requirement for verified email optional #1505

Open hughns opened 1 year ago

hughns commented 1 year ago

Currently all users are required to have a verified email address. This should be configurable in future.

sandhose commented 1 year ago

It turns out, it only really was an issue because I forgot to mark the imported email as the primary email when doing an upstream oauth registration. This is fixed as part of #1660, which also introduces a new claim import parameter for the email, set_email_verification:

dklimpel commented 9 months ago

How can I register a local user without verify the email?

I am not able to automate this. Either CLI or REST, but both is not possible.

set_email_verification seems only to work for an upstream provider.

sandhose commented 2 months ago

There are a few ways to work around this:

matrixbot commented 1 month ago

For your information, this issue has been copied over to the Element fork of matrix-authentication-service: https://github.com/element-hq/matrix-authentication-service/issues/1505