App authentication you add by asking

Hercules Auth handles sign-in for the apps you build. Ask for login, and your users get a sign-in page with Google, an email code or, on a paid plan, your company's single sign-on (SSO).

What can you do with Hercules Auth?

Offer the logins your users already have

Turn on social logins such as Google and Microsoft, one-time codes by email or text message, or email and password. Email codes and three social logins start on.

Sign-in methods
Auth Portal sign-in page with Continue with Google, Microsoft and email buttons
Username and password settings with the choice of letting users pick a username or assigning one

Give staff without email a username

Username and password sign-in works on every plan, and by default you create each login yourself. It suits drivers and warehouse staff with no company email.

Username sign-in
Sign-in rules tab with the Who can sign up options and the form for adding a rule

Decide who can join

Sign-in rules keep sign-up open, limit it to approved email addresses and domains, or let in only people your identity provider signs in. Hercules checks the rules when someone signs up and again at every sign-in.

Sign-in rules
Audit log table with time, user, event, outcome, reason, method and location columns

See every sign-in attempt

The audit log records every sign-in, sign-up and password reset, with its method, outcome and any reason it was blocked. See audit log on a person's row opens their history alone.

Audit log

Put your brand on the sign-in page

Set the logo, theme and language, and host the page at auth.yourdomain.com on a paid plan with a custom domain. With your own Google, Microsoft or Apple credentials on a paid plan, consent screens show your app's name.

Customize Auth Portal

How do you add sign-in to an app?

  1. 1. Ask for login

    Add login to my app so only our office staff and delivery drivers can open it.

    Hercules adds a sign-in page. Turn on Microsoft for the office and usernames for drivers, then create each driver's login.

  2. 2. Set who gets in

    Under Sign-in Rules, choose Only people I approve and add your company's email domain, plus username.invalid, the domain every username login uses. Hercules then turns away anyone who matches neither rule.

  3. 3. Check it works

    Sign in with each method in the preview, then with an unapproved address. Hercules logs each attempt, and yours should read Success and the last Blocked.

What has a business built with it?

Mauritius.biz clients sign in through custom-branded Hercules Auth to open support tickets. Jude runs the web hosting company in Mauritius, and his replies go out as branded email. He estimates it saves him 24+ hours a week on support.

Read the Mauritius.biz story

“Everything is in one place now. I go to mauritius.biz, log in, and there is my ticket dashboard. I type my reply and Hercules formats a beautiful, branded email. That was not the case before.”
Jude, Founder, Mauritius.biz

Related features

Frequently asked questions

What doesn't Hercules Auth do?
  • Users sign in on a page Hercules hosts. You can't embed the form in your app or use another auth provider.
  • Email and password sign-in, text codes and sign-in rule edits need a paid plan, and so does the full audit log. Without one you see the 10 most recent events. See the pricing page.
  • Each successful text code verification uses Hercules Cloud credits.
  • Older apps need a one-time, irreversible upgrade for sign-in rules and the audit log. Upgrade guide
Do users have to sign up again if I change sign-in methods?

No. Hercules Auth links sign-in methods by email, so a Google user can sign in with Apple once you turn it on.

How do username users reset a forgotten password?

You reset it for them, because username logins in Hercules Auth have no email for a reset link. Choose Reset password in their actions menu and share the new one.

Does Hercules Auth block fake sign-ups?

Hercules Auth blocks temporary email addresses at email sign-up and rejects passwords found in known data breaches. Social sign-ins skip the temporary address check.

How do I require MFA for my app's users?

Turn on single sign-on with Only SSO users. Your identity provider then enforces its MFA policy on every sign-in. Single sign-on

How do you get started?

Ask for sign-in in your first prompt. The Hercules Auth docs cover every setting. Start building.