Beta

Direct Identifiers

Email

By default, a new CakeAuth project will have email address identifiers + password turned on.

Using email address as primary identifier of a user means that the email address also acts as the "unique" identifying value of a user.

How to configure it?

  • If you haven't, setup your account first
  • Go to your environment Config sections
  • In the left sidebar, choose Direct Identifiers.
  • Choose the Email section

Autentication Strategies

If you turn on email identifier, you can use the following combinations as an extra authentication steps:

IdentifierAuth StrategiesContact Informations NeededNote
EmailPasswordEmail-
OTP CodeEmail-

Verify on Signup

If you turn on the Verify on Signup options, it means during signup via Email, user requires to verify their email address via OTP code. Regardless whether the OTP Code auth strategy is active or not.

Email Auth: Scenario

  • User signup by supplying email address and password
  • If Verify on Signup=ON, OTP code will be sent to user's email address. After successful verification, a user is created
  • On signin, and both authentication strategies Password=ON and OTP Code=ON, user can choose to use password or OTP

Additional Notes

  • Email address are case-insensitive
  • One email can only be associated with one user per environment
  • Email verification codes have a maximum retry limit (see rate limits to learn more)

Last updated on

On this page