element-hq / matrix-authentication-service

GNU Affero General Public License v3.0
10 stars 1 forks source link

Make requirement for verified email optional #1505

Open matrixbot opened 1 week ago

matrixbot commented 1 week ago

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.

matrixbot commented 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:

matrixbot commented 1 week ago

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.

matrixbot commented 1 week ago

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: