Casbin Forum runs on Casnode, the open-source Discourse-style forum. Try the Casnode demo →
Casbin Forum

Maybe someone has gone through a similar setup. How do you folks configure Casdoor to support project domains. I have Casdoor hosted on auth.beep.com, I have a project that i'd like to show the Casdoor UI on auth.yeep.com with the project/org pre-assigned. Is this doable?

I'm using Traefik and after discussing this with the AI, I attempted to rewrite the URLs (/login, /signup, /forget) to (/<my_project>). I can see that Casdoor container receives the correct URL, but i'm still seeing my built-in org's signup screen and not the project's so I'm guessing the frontend is responsible for picking the correct branding.

Any ideas?

Is it possible to inject the project slug suffix in React?

<Route exact path="/login/:owner" ...

1views
2users
1 minread

Is it possible to whitelabel projects/orgs using domain names?

I host Casdoor on auth.beep.com which is the "devops" domain that only i will have access to. A SaaS project i'm working on, should have the branded Casdoor Auth UI on auth.saasproject.com for the login/signup flows with the org/project preselected.

It's strange that the docs don't mention this setup, but maybe my understanding of the project is flawed. I run an IT firm, I manage multiple orgs and I want those orgs to know nothing about other orgs, domain names, or custom urls. I want a single instance of Casdoor and many organizations with various own subdomains pointing to my Casdoor instance. Is this not doable?

auth.beep.com - built in org, built in app
auth.saasproject.com - new org, new app, preselected

1 / 6
Mar 2024