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

In my frontend im redirecting the user to the casdoor login page so he can login with his casdoor credentials. When he sucessfully logged in casdoor redirects him to my frontend again with the state and code in the url and i get the token and the account etc. normally. After i get the token, the user is redirected to the logged in page of my frontend. Exactly like in the example in the docs of casdoor. In my frontend im not doing anything with the permissions of casdoor or the roles. But when i assign more then one permission to a role or a user directly in the casdoor UI, then my frontend gets the token and the account etc. but cant set cookies or anything. So the user stays on the login page of my frontend and doesnt get redirected. Its almost like casdoor is blocking something when a user or role has more than 1 permission assigned. Any Ideas?

1views
2users
1 minread

check the casdoor Go backend logs, see if there's any panic

And check the Chrome's F12 debug portal, see casdoor API's response

1 / 2
Mar 2024