AuthKit Domain
Guidance on configuring a custom domain for AuthKit.
The domain for AuthKit will consist of a randomly generated phrase plus the domain authkit.app, for instance youthful-ginger-43.authkit.app.
This is the default in the staging environment, in Production environments a custom domain can be configured via the dashboard.
With the production environment selected, navigate to the Domains section of the WorkOS Dashboard.

Click the Configure AuthKit domain button and enter the domain you would like to use.

You will be prompted to add a CNAME record to your DNS provider. If your DNS provider is Cloudflare, create the CNAME record as DNS-only. Once the domain is verified, you can proxy it through your own Cloudflare zone.

Once your domain is successfully verified, users signing in via AuthKit will be redirected to your custom domain.