papermerge/papermerge-core

Authentication credentials were not provided

luyuanerp opened this issue · 2 comments

Backend and Frontend start normally, but an error occurs when accessing the front-end page chrome console, http://120.76.102.100:8000/api/users/me/ 401 (Unauthorized) error 。

Visit http://120.76.102.100:8000/api/users/me/ and return information "errors":[{"detail":"Authentication credentials were not provided.","status":"401","source": {"pointer":"/data"},"code":"not_authenticated"}]}

186361522-7902c245-86d5-4c6f-9a76-77a67d0e0647

image

Docker Compose deployment and operation also have this problem, please help, thank you!
image
image

ciur commented

This is frontend bug and it is manifested due to "outdated cookie".
Workaround for it is to delete "ember_simple_auth-session" cookie like in short demo below:

unauth-delete-cookie

ciur commented

This issue is obsolete. Papermerge 3 does not use ember for frontend anymore (switched to react).