How to configure casdoor for windows deployment? I deployed but always show UNAUTHORIZED #5975
Replies: 3 comments 3 replies
-
Please paste some log from lobe-chat container. |
Beta Was this translation helpful? Give feedback.
-
the guide says: Step 1: Add Authenticator Core Code, but I cannot find file src/app/api/auth/next-auth.ts; So I only changed params in .env.
▲ Next.js 15.1.6
✓ Starting... |
Beta Was this translation helpful? Give feedback.
-
Casdoor already supportrd, you can follow https://lobehub.com/docs/self-hosting/advanced/auth and https://lobehub.com/docs/self-hosting/advanced/auth/next-auth/casdoor to add it. |
Beta Was this translation helpful? Give feedback.
-
I try to deploy lobe-chat on windows, and I already deployed casdoor on my laptop (winddows), but even I configured AUTH_CASDOOR_ID, AUTH_CASDOOR_SECRET, AUTH_CASDOOR_ISSUER...as the guide, the lobe-chat always show UNAUTHORIZED.
I followed the below guide but the file structs already changed:
https://github.com/lobehub/lobe-chat/blob/main/contributing/Basic/Add-New-Authentication-Providers.md
would you please help clarify what other places I need to modify to use the casdoor, or disable the 3rd-party auth totally. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions