Set callback and redirect URLs
Get started
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.example.com
instead of mydomain.kinde.com
.
There are a few reasons you may wish to do this.
Even if you use custom domains, you need to use your Kinde domain for Kinde Management API access and machine-to-machine applications.
account
, id
, or auth
, e.g. account.example.com
.Note that the verification process can take anywhere from 5 minutes to a few hours, depending on who your domain provider is. See tips for the DNS set up below.
account.example.com
.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.
Cloudflare users: DNS entries must be DNS-only, not proxied.
Once you have created the DNS entries, Kinde will start the verification process. This can take anywhere from a few minutes to a couple of hours. When it completes, the verification status will change to ‘Provisioned’ 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.
The challenge DNS record needs to remain in place after verification in order for us to renew your SSL certificate on an ongoing basis.
When you use social connections to authenticate users, you need to add the callback URL to the provider app so that the custom domain shows on the sign in form, instead of kinde.com.
If you haven’t set this up, follow these instructions for the relevant social provider.
If you already have social auth set up, make sure you add the custom domain callback (e.g. account.example.com/login/callback
as an authorized redirect URI in the provider app.
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.example.com
, it cannot be used with mydomain.kinde.com
.
Currently, Kinde only supports *.localhost
for non-https traffic.
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 account.example.com
, then:
Host = account
Record type = CNAME
Value = account.example.com
TTL = Leave as default
Routing policy = Leave as default
If you are using a multi-level subdomain, like multi.subdomain.example.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 multi.subdomain.example.com
and your zone is example.com
, you need to create a DNS entry for multi.subdomain
, as well as for _acme-challenge.multi.subdomain
.
There are many different ways people manage multi-level domains and zones, and unfortunately we can’t cover all variations in these instructions.