Open matrixbot opened 1 week ago
This comment was originally posted by @sandhose at https://github.com/matrix-org/matrix-authentication-service/issues/1505#issuecomment-1700698155.
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)This comment was originally posted by @dklimpel at https://github.com/matrix-org/matrix-authentication-service/issues/1505#issuecomment-1879795694.
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.
This comment was originally posted by @sandhose at https://github.com/matrix-org/matrix-authentication-service/issues/1505#issuecomment-2295985771.
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>
This issue was originally created by @hughns at https://github.com/matrix-org/matrix-authentication-service/issues/1505.
Currently all users are required to have a verified email address. This should be configurable in future.