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

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

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

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" ...

I woudn't mind running it myself with GPT-4, but I assume your configuration isn't public?

I think I broke it by submitting a message while receiving a response. I wish there was a way to start a new conversation or just delete the chat history, i see the history is bound to my IP so there's no way for me to start fresh which might cost you more in terms of tokens/usage and it starts to hallucinate more. Awesome tool though, answered most of my questions without much iteration.

Screenshot_2024-03-14_at_15.16.15.png

The model provider: provider_model_azure_gpt4 is not found saw the same on my hosted instance.

Sorry to bother you, but if I may ask. Could you clarify what the "code" parameter is in this case or do I just leave it empty?

func (c *Client) GetOAuthToken(code string, state string) (*oauth2.Token, error) {

Do I need to make the request to /api/get-global-providers to get the code? I see that the response is quite large and is an array of providers, but I don't understand how this is relevant to the go sdk call.

Screenshot_2024-03-14_at_12.33.08.png

Hi there. Is Casdoor suitable for service-to-service auth? I would like to authenticate my microservices between each other, but unsure what setup this would entail.

specifically looking for a Golang solution