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

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.


