Use your own custom domainLink to this section
By default, Kinde issues a Kinde subdomain when you first register. But for your production environment you can use your own custom domain instead of Kinde’s as your URL. For example,
account.mydomain.com instead of
There are a few reasons you may wish to do this.
- It will give your users the impression they have never left your application to authenticate, creating a seamless user experience.
- For Single Page Applications (SPAs) it means we can securely set a first party cookie meaning authentication state persists for full-page refreshes and new tabs.
- If you also register the domain in the configuration for any social providers you are using, the social providers auth screen will be customized with your app details.
We find most customers use
id , or
auth as their subdomain, i.e
Set up in KindeLink to this section
- Go to Settings > Environment > Custom domain. The Custom domain page opens.
- Enter your custom domain in the Domain name field. Be sure to include the subdomain, for example
- Select Get DNS details. The DNS details appear.
- Go to your domain provider website and create CNAME DNS records using the DNS details. Apologies that we can’t offer instructions for all situations, as this will be different depending on your provider. But here are the setup steps for Godaddy, Cloudflare, and NameCheap.
- Once you have created the DNS entries, go back to Kinde and select Verify. The verification process can take up to a couple of hours. When it completes, the verification status will change and an SSL certificate will be provisioned. Your domain will then be used instead of Kinde’s. You will also receive an email notification when the process is complete.
- If you encounter any errors, such as the verification taking too long, re-check the DNS records you created on your provider site, to ensure the details are correct.
Set up in your appLink to this section
Remember to also update your own code to use your custom domain, rather than the Kinde issued subdomain.
Domains and auth end pointsLink to this section
Auth endpoints are available for both custom domains and your Kinde subdomain. You can get tokens from either end point, but they are not interchangeable. For example, if you get an ID and access token from
account.mydomain.com, it cannot be used with
Tips for the DNS set upLink to this section
When you create the DNS records for linking your own domain to Kinde, be sure to match the format you have used above.
For example, if your custom domain is
Record type =
TTL = Leave as default
Routing policy = Leave as default
Using multi-level subdomainsLink to this section
If you are using a multi-level subdomain, like
multi.subdomain.domain.com, how you set up DNS records will depend on how your zones are set up.
The details provided in the admin console assumes the domain entered is adding a single level to your DNS zone, but if you are adding more than one level you’ll need to create others.
So if your business is
blue.black.red.com, you need to created a DNS entry for the custom domain
blue.back.red, as well as an
There are many different ways people manage multi-level domains and zones, and unfortunately we can’t cover all variations in these instructions.Customize