Open hughns opened 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
:
never
: do not set the imported email as verifiedalways
: always set the imported email as verifiedimport
: mark the email as verified if the OAuth upstream set the email_verified
claim to true
(<- this is the default behaviour)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.
There are a few ways to work around this:
mas-cli manage register-user
), adding an email with the -e
/--email
flag should make it verifiedmas-cli manage verify-email <USERNAME> <EMAIL>
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
Currently all users are required to have a verified email address. This should be configurable in future.