Overview
Let your users to use direct identifiers to authenticate with your app.
What is Direct Identifiers?
To sum it up, direct identifiers are all identifiers that are not OAuth/socials identifier. CakeAuth currently support the following identifiers and the combination of each:
- Email address
- Phone number
- Username
Authentication Strategies
Every direct identifiers, has its own set of authentication strategies. An authentication strategies are set of option that you can choose to control which ways users can take to authenticate.
Authentication strategies can be divided into two categories:
- Password: Requiring user to setup a password
- Passwordless: Authenticate user via non-password flows (eg: OTP)
In the future, we're planning to add more passwordless strategies (such as Magic Link, passkeys, etc). Always keep a look at our changelog for the latest features.
Good to Know
While we provide multiple ways/identifiers for you and your users, we highly recommend to stick to a single identifier.
Last updated on