-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.local development 2. Additional context or commentsNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Your 401 error and SameSite cookie warnings in local Dify development are caused by browser security policies and configuration mismatches between frontend and backend. Modern browsers block cookies with SameSite=Lax from being set in cross-origin requests unless the response is a top-level navigation, and cookies may also be blocked if not marked as Secure when using HTTPS, or if the domain/port settings are inconsistent. To fix this:
If the problem persists, let me know your exact frontend and backend URLs (including ports) so I can help you further. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
|
In the end, the issue was resolved by setting up a proxy on the front end |
Beta Was this translation helpful? Give feedback.


In the end, the issue was resolved by setting up a proxy on the front end