# Auth0 Integration: Email Validation

URL: https://email-validation.org/integrations/auth0/
Updated: 2026-11-29

> Documentation index: https://email-validation.org/llms.txt

An Auth0 Action on the Pre User Registration trigger checks the email address of every new database or passwordless sign-up and stops the ones you do not want, by default addresses that cannot receive mail and throwaway inboxes. When a check cannot be made, the sign-up goes through as if the Action were not there.

[Read the full setup guide](https://email-validation.org/docs/guides/auth0/) [Get an API key](https://email-validation.org/signin/)

- Status: Setup guide
- One file, pasted into the Action editor

**Action secrets** Pre User Registration

Secrets

```text
EV_API_KEY         your API key (required)
EV_REGION          eu, for EU data residency (optional)
EV_STOP_STATUSES   invalid,disposable  (the default)
EV_DENY_MESSAGE    your own wording (optional)
```

## At a glance.

- **Status**: **Setup guide.** Not listed on a marketplace yet: you set it up yourself in a few steps, below and in the full guide.
- **For**: Apps that sign people up through Auth0 database or passwordless connections and want an address that cannot receive mail, or a throwaway inbox, turned away before the account exists.
- **You need**: An Auth0 tenant where you can create Actions, sign-ups through a Database or Passwordless connection (Auth0 runs this trigger only for those), and an [API key](https://email-validation.org/app/api-keys/) made for it, with a [daily credit cap](https://email-validation.org/docs/authentication/#limits).
- **Costs**: 1 credit = 1 validated address, as with any API request. Free: unknown results, API errors, malformed addresses, test addresses on sandbox.email-validation.org and, in a bulk list, repeats of an address (charged once).
- **Full guide**: [Read the full setup guide](https://email-validation.org/docs/guides/auth0/)

## Typical uses.

- **Stop dead addresses**: An invalid result stops the sign-up with a message the sign-up form shows, and adds Did you mean …? when the API suggests a correction.
- **Keep throwaway inboxes out**: Disposable addresses are stopped by default, with their own message asking for a permanent address.
- **Watch before you stop**: Set EV\_STOP\_STATUSES to none and the Action stops nothing: it writes each result to its logs, so you can see what it would do first.

## Set it up. 4 steps.

The short version of the [full setup guide](https://email-validation.org/docs/guides/auth0/), which stays the reference when a step does not match what you see.

1. **Download the Action**: It is not on a marketplace: download email-validation.js from the guide. It is the whole Action, one file.
2. **Create the Action**: In the Auth0 dashboard, open Actions, Library, Create Action, Build from scratch, with the trigger Pre User Registration and the runtime Node 22. Replace the editor’s code with the file.
3. **Add your key and deploy**: Add the secret `EV_API_KEY` with your API key, then Deploy. Then open Actions, Triggers, pre-user-registration, drag the Action into the flow and Apply.
4. **Try it**: Sign up with `no_mailbox@sandbox.email-validation.org`: it is stopped, at no cost. Never sign up with a test address that goes through, such as `accepted@sandbox.email-validation.org`: Auth0 would mail it, and the bounce hurts your sender.

## Good to know.

- Sign-ins through Google, other social connections and enterprise connections are not checked: Auth0 runs Pre User Registration only for database and passwordless sign-ups.
- The Action waits at most a few seconds and never retries. With no answer in time, a wrong key, no credits or any error, the sign-up goes through and the log line holds the reason, never the address.
- An unknown result caused by our side, a timeout or an internal error, never stops a sign-up, whatever you choose to stop.
- The Action sends only the email address, to our US or EU host: not the person’s name or IP address.

## Related

- [The full Auth0 setup guide](https://email-validation.org/docs/guides/auth0/)
- [Every setting of the Action](https://email-validation.org/docs/guides/auth0/#settings)
- [What happens when a check cannot be made](https://email-validation.org/docs/guides/auth0/#fail-open)
- [Sign-up form validation](https://email-validation.org/docs/guides/signup-form-validation/)
- [Auth.js integration](https://email-validation.org/integrations/authjs/)
- [Better Auth integration](https://email-validation.org/integrations/better-auth/)
- [Clerk integration](https://email-validation.org/integrations/clerk/)
- [Amazon Cognito integration](https://email-validation.org/integrations/cognito/)
- [All integrations](https://email-validation.org/integrations/)
