Present a branded sign-in URL instead of a Kinde subdomain.
Production authentication
Kinde · Const
Kinde custom domains let a production environment use your own authentication URL instead of its Kinde subdomain. Add the domain in environment settings, publish Kinde’s CNAME records, then update the application’s issuer and redirect URLs.
A custom domain replaces the Kinde subdomain used for user-facing authentication. Configure it in the environment settings, add the generated CNAME records at your DNS provider, then update the application issuer and redirect URLs; Kinde verifies the DNS and provisions SSL before the domain is ready.
A verified, SSL-enabled custom authentication domain for the environment.
const issuerUrl = "https://account.example.com";
const authUrl = `${issuerUrl}/oauth2/auth`;
console.log(authUrl);Build authentication URLs from the configured custom-domain issuer instead of the Kinde subdomain.
Production authentication
Application configuration
Social authentication
Add the domain under Settings > Environment > Custom domain, enter a subdomain, and save it. Kinde then displays DNS details; create the requested CNAME records with the domain provider. After verification, the status becomes Provisioned and an SSL certificate is provisioned.
Follow-up: What application changes are required? Set the issuer URL, callback URLs, and logout redirect URLs to the exact custom domain, and update any relevant configuration files.
The application must use the exact custom domain, including updating KINDE_ISSUER_URL. Callback and logout redirect URLs in Kinde must also be changed to the custom domain.
Follow-up: What should remain on the Kinde domain? Management API access and machine-to-machine applications continue to use the Kinde domain.
The domain can be used for authentication endpoints after it is provisioned. Kinde also continues to expose auth endpoints through the original Kinde subdomain.
Follow-up: What is a social-login-specific requirement? Add the custom-domain callback URL to the social provider application so the custom domain appears on the sign-in form.
Kinde domainOrganization custom domainKINDE_ISSUER_URLCNAME DNS recordscallback URLlogout redirect URLAuth endpoints