Does FusionAuth support the ability to use codes for verification?
-
Hi, does FusionAuth support the ability to use codes for verification instead of a verification link?
You sign up and it emails you a code like 123456, and then users enter 123456 on the website to confirm their verification?
-
Yes. As of 1.27, you can use a verification strategy of
FormField
. This is configured on the tenant: https://fusionauth.io/docs/v1/tech/apis/tenants/You then provide the one time code in the
oneTimeCode
request body parameter. More about this in the email verification docs: https://fusionauth.io/docs/v1/tech/apis/users/#verify-a-users-emailNote that this feature only works with email gating at the current time, which is a reactor feature requiring a paid license.