K
Kinde4mo ago
MaxRebo

Redirect Urls for multi tenant application

Hi, I'm building a multi-tenant application, whereby each tenant runs on a unique domain. Is there a mechanism to to support redirect url for many domains? I have seen this article, but it assumes each tenant will be on a subdomain, which won't work for us: https://docs.kinde.com/build/domains/subdomains-for-callbacks/ Is there a built-in mechanism to support each tenants on a unique domain?
Kinde docs
Manage subdomains for callback URLs
Our developer tools provide everything you need to get started with Kinde.
3 Replies
MaxRebo
MaxRebo4mo ago
following on from this, is there a limitation to the number of callback urls we add? For example, if we added a callback url per tenant, and we have 1000 tenants, is this supported?
Daniel_Kinde
Daniel_Kinde4mo ago
We are adding an option for a custom domain per organisation, this will be on our scale plan with extra charge for advanced orgs. There is no limit to the callbackUrls, however it would be good to dig deeper into your usecase.
MaxRebo
MaxRebo4mo ago
We will start users on a subdomain, with the option to brand with their own custom domain. The other option I am exploring is to proxy all auth requests via a single endpoint, and add a callbackUrl in Kinde to that single proxy address. That endpoint would then be responsible for redirecting to the correct url based on the tenantId we store against the org in Kinde. Do you foresee any challenges in going down this path?
Want results from more Discord servers?
Add your server