hello
has anyone tried casbin with traefik forwardauth before? or can i find a better solution?
ohh. Thanks!
I tried it but couldn't get the needed values in the cookie for auth to work.
I asked here and it seems outdated.
https://discord.com/channels/1022748306096537660/1065201965883199518/1123133862533414932
your link doesn't work. Can you explain it more here?
It goes back to this messages
On first protected website access, you're redirected to Casdoor. It check if you're having a Casdoor cookie with id and code. If not you'll have to login.
The problem is the cookie format seems to have changed (like no code in it), so the traefik plugin never find the requested value, and you're endlessly redirected to Casdoor login.

Is this issue created by you? https://github.com/casdoor/traefik-casdoor-auth/issues/4 can you add more details and demo video for this issue?
Yes, thats me.
I've got rid of this setup since I couldn't get it to work. But the main issue is it's looking for a code in the cookie that's just not in it.
What detail do you need to work on this?
I even made a dockerized version of the plugin.
https://github.com/tedr56/traefik-casdoor-auth-docker
Join the conversation
Sign up to reply, like and follow topics.
Suggested Topics
Want to read more? Browse other topics in Casbin or view latest topics.
