Set callback and redirect URLs
Get started
If you use organizations in Kinde, you probably build and maintain multi-tenant software. You might also manage multiple subdomains for those tenants.
To help ensure your organizations’ users are redirected to the right subdomain when they sign in, we’ve added what we call ‘organization handles’.
You add a handle to an organization’s details. The handle exactly matches the top level subdomain name of that organization. For example, clairesgym
is the handle for https://clairesgym.jimsgiantgyms.com
.
Then when you go to set callback URLs for each subdomain, you just use one template URL that uses the {organization_handle}
to construct a URL that works for all your orgs.
Currently, handles can only be added manually through the Kinde admin portal, but we plan to add this as an API function soon.
https://{organization.handle}.<mysite>.com.au
, and replace <mysite>
with your web domain. For example, https://{organization.handle}.jimsgiantgyms.com
clairesgym
for the subdomain https://clairesgym.jimsgiantgyms.com
. Ensure the subdomain name and the handle match exactly. The handle must also be unique within your Kinde business.