Skip to main content
Inbound PrivateLink lets you connect from your own AWS Virtual Private Cloud (VPC) directly to your Auth0 Private Cloud space over AWS PrivateLink. Requests from your AWS workloads to Auth0 stay on the AWS network. Inbound PrivateLink works alongside the public internet edge, and you decide which traffic uses it. Requests from VPCs connected through PrivateLink use the private path. All other traffic, like end-user browser logins, continues to use the internet edge. Auth0 calls this Hybrid Mode, and it’s the only mode available during Early Access. Use Inbound PrivateLink to:
  • Keep authentication traffic private
    • Send token requests, machine-to-machine (M2M) requests, and Management API calls from your AWS workloads to Auth0 without crossing the public internet. This can help you meet network-isolation and Zero Trust requirements, remove public egress from those workloads, and replace IP allowlisting with endpoint-level access controls.
  • Reduce latency
    • Requests travel directly between VPCs in the same AWS region instead of routing out to the internet edge and back.
  • Support compliance and data residency requirements
    • Authentication traffic from your workloads doesn’t transit third-party edge networks.

Prerequisites

Before you start

  • An Auth0 Private Cloud on AWS space.
    • Inbound PrivateLink isn’t available for Public Cloud tenants or Private Cloud on Azure.
  • An AWS VPC in the same AWS region as your Auth0 space.
  • The ARNs of the AWS account principals that will create VPC endpoints, for example arn:aws:iam::123456789012:root. You can connect from as many VPCs and AWS accounts as you need. AWS service quotas apply to your account.
  • If you plan to use Private DNS, workloads that use the VPC’s default DNS resolver (Amazon Route 53 Resolver). Private DNS doesn’t change the public DNS records for your hostnames. If your workloads use a different resolver, manage DNS yourself.
Auth0 doesn’t charge extra for Inbound PrivateLink. AWS bills you for the VPC endpoints you create, at standard AWS PrivateLink pricing.
Private Cloud on AWS supports PrivateLink in both directions. You can use them together for a fully private path between your AWS environment and Auth0. To learn more about Outbound PrivateLink, read Secure Outbound Networking. When Inbound PrivateLink is enabled, Auth0 exposes a PrivateLink endpoint service for your space in each region your Private Cloud deployment uses. The endpoint service only accepts connections from AWS principals that Auth0 has added to its allowlist. You connect to it by creating a VPC interface endpoint in your own AWS account, in the same region as your space. In AWS terms, you’re the service consumer and Auth0 is the service provider. To learn more, read AWS PrivateLink concepts. You choose how your workloads resolve your space hostnames to the endpoint: With either option, your applications keep using the same hostnames, and Auth0 serves the same TLS certificates it serves on the internet edge, so you don’t need to change application code or certificates. Traffic from everywhere else keeps using the internet edge. One endpoint service serves your whole space, so every tenant in the space is reachable through it. To limit which of your workloads can use it, read Restrict access to your endpoint.
1

Request Inbound PrivateLink

File a request in the Support Center. Include your Private Cloud space name and the AWS principal ARNs that will connect.
2

Auth0 enables Inbound PrivateLink on your space

Auth0 turns on the PrivateLink infrastructure for your space. This is a one-time step that takes effect during your space’s next scheduled deployment.Auth0 then adds your AWS principals to the allowlist and sends you the endpoint service name, for example com.amazonaws.vpce.us-east-1.vpce-svc-0123456789abcdef0. If your space uses Geo high availability (GeoHA), you get one endpoint service name for each region.
3

Create a VPC interface endpoint

Once Auth0 confirms your principals are on the allowlist, create an interface VPC endpoint in your AWS account that connects to the Auth0 endpoint service. Auth0 accepts connection requests from allowlisted principals automatically, so the connection is available as soon as you create the endpoint. To learn more, read Connect to an endpoint service as the service consumer in the AWS documentation.
Private DNS takes effect as soon as the endpoint is available. If the VPC already runs production workloads that call Auth0, create the endpoint with Private DNS off, verify the connection, and then turn on Private DNS.
  1. In the Amazon VPC console, go to Endpoints and select Create endpoint.
  2. For Type, select Endpoint services that use NLBs and GWLBs.
  3. For Service name, enter the service name Auth0 sent you, then select Verify service.
  4. Select your VPC, and select subnets in each Availability Zone your workloads use.
  5. Select security groups that allow inbound HTTPS (TCP 443) from your workloads.
  6. To use Private DNS, select Enable DNS name. To manage DNS yourself, or to verify the connection first, leave it cleared.
  7. Select Create endpoint.
4

Verify the connection

If you turned on Private DNS, check from a host inside your VPC that your space hostname resolves to the endpoint’s private IP addresses:
You should get private IP addresses from your VPC’s CIDR range. If you use a custom domain, check it too, for example dig login.example.com.Then send a test request, for example to your tenant’s OpenID Connect discovery endpoint:
If Private DNS is off, test through the endpoint’s regional DNS name instead. You can find it in the VPC console under the endpoint’s Details tab. Keep the Host header and SNI set to your space hostname so that TLS validation succeeds:

Change your AWS principals

To add or remove AWS principals later, file a request in the Support Center with the ARNs. Changes don’t need a deployment, but they’re made manually by the Auth0 team, so allow time for your request to be routed and completed.

Manage DNS yourself

If you leave Private DNS off, you control DNS resolution for your space hostnames. You decide which hostnames resolve to your VPC endpoint and which resolve to the public DNS records, so you can choose which requests use PrivateLink, for example to move traffic over gradually. A common approach is a Route 53 private hosted zone associated with your VPC, with records that point the hostnames you choose to the endpoint’s regional DNS name. Include your canonical tenant domains and any custom domains you want to route over PrivateLink. If your space uses GeoHA, read GeoHA spaces to choose which endpoint each record points to. Because this setup depends on your own infrastructure, Auth0 Support can only offer limited help with it.

Custom domains

Custom domains work over Inbound PrivateLink. What you need to do depends on the domain type: Private DNS only answers for clients that use your VPC’s DNS resolver. End-user browsers and on-premises networks without DNS forwarding still resolve to the internet edge. If you run your own private hosted zone or conditional forwarder for your custom domain, it can stop the CNAME chain from reaching the canonical domain. Run dig login.example.com from inside your VPC and confirm it returns your endpoint’s private IP addresses. With a self-managed custom domain, requests appear to come from your proxy. To keep anomaly detection, rate limiting, and MFA risk signals working, have your proxy send the end user’s IP address in the X-Forwarded-For header, or in the header you set with custom_client_ip_header. To learn more, read Configure Custom Domains with Self-Managed Certificates.

GeoHA spaces

If your space uses Geo high availability (GeoHA), it has an endpoint service in each of its two regions. Auth0 forwards requests that reach the secondary region’s endpoint service to the active primary region. During a geo failover, Auth0 switches PrivateLink routing at the same time as public DNS, so you don’t need to change anything. Which regions to connect from depends on where your workloads run:
  • If your workloads run only in your space’s primary region, connect from a VPC in the primary region.
  • If your workloads run in both regions, connect each region’s workloads to the endpoint service in the same region.
Where you can, connect to both endpoint services. If the region Auth0 is failing over from is completely unreachable, Auth0 might not be able to switch PrivateLink routing, and traffic through that region’s endpoint might not succeed.

Restrict access to your endpoint

Private Cloud IP allowlists don’t apply to requests that arrive over PrivateLink. Auth0 bypasses them for PrivateLink traffic, so access through your endpoint is controlled in your AWS account instead. You can’t bind a PrivateLink connection to a specific tenant, application, or Organization. To control which of your workloads use it, use security groups on the VPC endpoint, VPC endpoint policies, and your own routing and DNS.

Feature support

Requests over PrivateLink don’t pass through the internet edge, and they reach Auth0 from Auth0’s PrivateLink network addresses instead of the end user’s IP address. With a canonical domain or an Auth0-managed custom domain, Auth0 can’t see the end user’s IP address or location. The exception is token endpoint requests from applications that use the Trust Token Endpoint IP Header setting. With a self-managed custom domain, your proxy forwards the end user’s IP address, so features that depend on it keep working. In the table, Limited means the feature works with restrictions, which are described in Limited and unsupported features.

Limited and unsupported features

All PrivateLink requests appear to come from a small set of IP addresses, so protection applies per user rather than per user and IP address. Repeated failed logins for one account block that account for all PrivateLink clients.Token endpoint requests that use the Trust Token Endpoint IP Header setting use the end user’s IP address.
All PrivateLink users share a small number of throttling limits, so one busy client can throttle many other users.Token endpoint requests that use the Trust Token Endpoint IP Header setting use the end user’s IP address. For other PrivateLink traffic, don’t rely on Suspicious IP Throttling.
Bot signals from the internet edge aren’t available over PrivateLink. With a canonical domain or an Auth0-managed custom domain, IP address reputation isn’t available either.TLS fingerprint signals still apply, but with a self-managed custom domain they describe your proxy, not the end user.
End-user IP addresses in your IP AllowList don’t match PrivateLink requests. The exception is token endpoint requests from applications that use the Trust Token Endpoint IP Header setting.
The UntrustedIP and ImpossibleTravel risk assessments need the end user’s IP address and location. With a canonical domain or an Auth0-managed custom domain, they’re only available for token endpoint requests that use the Trust Token Endpoint IP Header setting.
With a canonical domain or an Auth0-managed custom domain, Auth0 doesn’t know the end user’s IP address or location, so rules on them never match PrivateLink requests. A rule that blocks requests that don’t match may block all PrivateLink traffic.With a self-managed custom domain, fingerprint rules match your proxy, not the end user.Rules on the connecting IP address don’t work for any domain type.
These limits apply to the combined PrivateLink traffic, so you can reach them sooner.
Tenant logs and event.request.ip show an Auth0 private network address, and event.request.geoip is empty.Tenant logs for token endpoint requests that use the Trust Token Endpoint IP Header setting show the end user’s IP address.
With a canonical domain or an Auth0-managed custom domain, binding can fail when the native application and the web application reach Auth0 different ways, one over PrivateLink and the other over the internet edge.If both use PrivateLink, ASN binding always passes, so it doesn’t protect the session transfer.
As on the internet edge, mTLS needs a self-managed custom domain. Your proxy must terminate the mTLS connection and forward the client certificate headers to Auth0.
As on the internet edge, Akamai supplemental signals need a self-managed custom domain with Akamai as your reverse proxy. Akamai can’t connect to your VPC endpoint directly, so it must forward requests to a proxy in your VPC that sends them over PrivateLink.

Limitations

During Early Access:
  • You can’t block the internet edge to make PrivateLink the only way into your space.
  • Some Auth0 features are limited over PrivateLink. To learn more, read Feature support.
  • CDN assets, like Universal Login static assets from cdn.auth0.com, still load over the internet.

Learn more