Custom Domains allow you to use your own domain name for Auth0 login pages and endpoints instead of the default Auth0 domain.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/auth0/go-auth0/llms.txt
Use this file to discover all available pages before exploring further.
List Custom Domains
Retrieves all custom domains configured in your tenant.Context for the request
Query parameters:
Status- Filter by verification statusType- Filter by domain type
Optional request options
Example
Get Custom Domain
Retrieves configuration and status for a specific custom domain.Context for the request
ID of the custom domain to retrieve
Optional request options
Returns the custom domain with properties:
CustomDomainID- Domain identifierDomain- Domain namePrimary- Whether this is the primary domainIsDefault- Whether this is the default custom domainStatus- Verification statusType- Domain type (auth0_managed_certs or self_managed_certs)Verification- Verification detailsCustomClientIPHeader- Custom client IP headerTLSPolicy- TLS policy
Example
Create Custom Domain
Creates a new custom domain. The domain will need to be verified before it accepts requests.Context for the request
The custom domain configuration:
Domain- Domain name (required)Type- Domain type: “auth0_managed_certs” or “self_managed_certs” (required)CustomClientIPHeader- Custom client IP headerTLSPolicy- TLS policy (e.g., “recommended”)
Optional request options
Example: Auth0 Managed Certificates
Example: Self-Managed Certificates
Update Custom Domain
Updates a custom domain’s configuration.Context for the request
The ID of the custom domain to update
The fields to update:
CustomClientIPHeader- Custom client IP headerTLSPolicy- TLS policy
Optional request options
Example
Delete Custom Domain
Deletes a custom domain and stops serving requests for it.Context for the request
ID of the custom domain to delete
Optional request options
Example
Verify Custom Domain
Runs the verification process on a custom domain.Context for the request
ID of the custom domain to verify
Optional request options
Example
Test Custom Domain
Runs the test process on a custom domain.Context for the request
ID of the custom domain to test
Optional request options
Example
Complete Example
Domain Types
Auth0 Managed Certificates
Auth0 automatically manages SSL/TLS certificates:- Automatic certificate provisioning
- Automatic certificate renewal
- No certificate management required
Self-Managed Certificates
You provide and manage your own SSL/TLS certificates:- Full control over certificates
- Bring your own CA
- Manual certificate updates
Verification Status
pending- Awaiting verificationpending_verification- Verification in progressready- Domain verified and readyfailed- Verification failed
Best Practices
- Use Auth0 Managed Certs - Simplifies certificate management
- Test Before Production - Verify domain functionality before switching production traffic
- Monitor Status - Regularly check domain status and certificate expiration
- Configure DNS Properly - Ensure DNS records are correctly configured
- Use Recommended TLS Policy - Keep TLS settings up to date with security best practices
Related Resources
- Custom Domains Guide
- Branding - Customize login pages
- Tenant Settings - Configure tenant settings