Open renom opened 1 month ago
I just found out that it works the other way around.
If I sign up with an email code (OTP), SMS message Your verification code is: <code>
is sent then (but email with a verification code isn't).
After a little research, it seems enabling of verification
hook is hardcoded:
Extra info for setting "Phone login with SMS code (OTP) + email login with password, email verification is enabled":
If I enable show_verification_ui
and then register with email+password, the verification form accepts SMS code but doesn't accept email code. So the only possible outcome is "email isn't verified", "phone is verified".
If I register with phone+sms and then verify email with show_verification_ui
, it works perfectly though.
UPDATE: it's bug of kratos-selfservice-ui-node
Preflight checklist
Ory Network Project
No response
Describe the bug
I use phone+email configuration. My registration flow config:
(
show_verification_ui
hook isn't enabled in config)I've tested with the following schema configurations:
In any of these configurations, email
Use code <code> to verify your account
is sent after successful registration with SMS (OTP).The only way to disable these emails is to disable email verification in schema:
Reproducing the bug
Configuration:
Then sign up with phone+SMS (OTP)
Relevant log output
Relevant configuration
No response
Version
git version
On which operating system are you observing this issue?
Linux
In which environment are you deploying?
Docker Compose
Additional Context
No response