[bug]: 401 error login loop
Is there an existing issue for this?
- [X] I have searched the existing issues
Current behavior
After trying to login I get sent back to the login page
It seems that I can get one authenticated request done to the api but after that I go back to being disconnected
Additionnal infos:
Browser Request logs: _planerqworker_logs.txt
API logs: api.log
the only "error" I see in any logs is this for the frontend
2023-06-14T09:34:26.890329433Z Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly
You can try on https://plane.dzeio.com using the defaults
it is self hosted using coolify with the docker being here https://github.com/aviortheking/plane
Steps to reproduce
- Login with the defaults ids
- get sent back to the login screen
Browser
Mozilla Firefox
Version
Self-hosted
I have the exact same issue :/ Tried following the guide on the readme, however it just wont let me login using the default
Cant sign up either. Just says something went wrong
Hi, it would be awesome if you could try the latest version (0.8). Please feel free to comment if you are still facing the issue.
@pablohashescobar tried with 0.8, can confirm, that the issue still persists
It seems SECRET_KEY will be regenerated sporadically, if not already present in environment and is used to encode and decode jwt in several places.
Yeah it seems to have fixed the issue !
For me this was indeed caused by a typo, setting SECRET_KEY the correct way fixes the issue, sorry for the noise!
I have the exact same issue, @orbatschow, how did you fix that?
@quangngoc I misspelled the environment variable name itself (used SECRET_KEYa instead of SECRET_KEY), so i just fixed the typo and then it worked for me.
Can confirm SECRET_KEY fixed it for me too