Hercules handles user authentication for you using Hercules Auth. Allow your users to sign in with Google, Apple, Microsoft, Facebook, LinkedIn, an email code, an SMS one-time passcode (OTP), an email and password, or a username and password.
How does Hercules Auth work?
Your users sign into your app through a customizable login portal managed by Hercules. Your user picks their preferred login option. After authenticating, they are redirected back to your app and the authentication is officially saved on your app's frontend and backend.
What login methods are supported?
Hercules Auth currently supports the following sign-up and login options:
- Apple
- Microsoft
- Email via one-time passcode
- SMS via one-time passcode (OTP) (Hercules Auth 2.0 and a paid plan)
- Email and password
- Username and password (accounts created by you, no email required)
You can customize which methods are shown to your users. See Customize Auth Portal for email verification, password recovery, and CSV user imports, and Username and password sign-in for admin-managed accounts.
An account created with an email code has no password until the user sets one. Password sign-in fails until then. Use Forgot password? to set the first password.
For SMS, use Hercules SMS or connect your own provider. Both options are available on all paid plans and must be enabled for each app.
Does Hercules Auth support MFA or 2FA?
Not today. Hercules Auth doesn't currently support MFA (multi-factor authentication) or 2FA (two-factor authentication), so tokens don't include MFA amr or acr claims. We are working on enabling MFA in the near future.
How do I enable auth for my app?
It's easy: just ask Hercules to set it up for you!
Add login to my appHow do I upgrade an existing app to Hercules Auth 2.0?
Apps created before Hercules Auth 2.0 shipped can upgrade in place to unlock provider toggles, your own developer accounts, and a custom auth domain. See Upgrade to Hercules Auth 2.0.
What's next?
Customize Login & Sign upCustomize login methods, branding, and domains
Manage UsersManage users, roles, and permissions