Keukeiland / KeukNet

The source-code of the KeukNet connection web interface.
https://keuk.net/
Mozilla Public License 2.0
0 stars 0 forks source link

401 Unauthorized error when logging in/out and registering #2

Closed fizitzfux closed 4 months ago

fizitzfux commented 8 months ago

When authentication fails this error appears instead of the actual error message. This only occurs in certain rare cases where the client's cookie has become messed up, or when they have disabled the cookie.

As this bug only makes authenticating a bit less user-friendly but isn't fatal in any way, and because it is quite complicated to fix as it's a failure in client-side cookie handling, this will not be fixed for now. The workarounds below should work .

WORKAROUND-1: Reset your cookie for the website.

WORKAROUND-2: Refreshing the webpage should always allow you to re-try authenticating.

fizitzfux commented 6 months ago

Will not be fixed as it is planned for v2.4.0 to change from HTTP Basic auth to a form and session based login, with Basic auth only being a compatibility option.