-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JWT not sent to API after login on Firefox 111 in HTTPS-only mode #146
Comments
I am also ran into a similar issue, and lost access to Vikunja via https://vikunja.tld after upgrading to Firefox 111. I'm using a docker-compose setup with Nginx Proxy Manager. I was able to restore access to my data with these Nginx Proxy Manager configs Despite restoring access, https://vikunja.tld/api/v1/ now displays this message:
|
The Firefox 111 release notes say:
That sounds like it could be related. |
This does sound like it might be the cause here. On try the api request is not a cross-origin one though. Not sure what to make of this. |
Looks like this is actually a spec change: mdn/content#22533 So it will stop working in Chrome as well once they include the spec update. |
I just tested this in Firefox Dev 112 and it seems to work fine. Can anyone else confirm this? |
Now also tested in Firefox 111 and it seems to work there as well. (Both on my NixOS) |
Okay so I kind of reproduced it in Firefox dev 112:
Now, I wonder why it saves I was able to fix this by explicitely setting the To me, this kind of looks like a bug in Firefox. It seems like other people noticed as well but in that bug report it appears fixed? |
Opened a follow-up bug report to clarify if this has been fixed in Firefox and just not yet released or if it needs a new fix: https://bugzilla.mozilla.org/show_bug.cgi?id=1823502 |
Thanks for being a responsive developer, and for your continued work on this app. |
Reviewed-on: https://kolaente.dev/vikunja/desktop/pulls/146 Co-authored-by: renovate <renovatebot@kolaente.de> Co-committed-by: renovate <renovatebot@kolaente.de>
Description
Vikunja does not allow me to log in using Firefox 111 (possibly earlier) using the HTTPS-only mode. Disabling the HTTPS-only mode causes login to succeed. It appears that it can be re-enabled afterwards and things keep working but I did not investigate.
It works in Chrome 112 with Chrome's default config.
The following is gathered using the Firefox Devtools.
Login succeeds:
Request
gets response
However, the subsequent call to
/api/v1/user
doesn't supply the JWT:resulting in a 401 response:
In the js console I see the following relevant lines:
Vikunja Frontend Version
0.20.5+45-846de369f2
Vikunja API Version
Whatever try.vikunja.org is using at the time of this post.
Browser and version
Firefox 111
Can you reproduce the bug on the Vikunja demo site?
Yes
Screenshots
No response
The text was updated successfully, but these errors were encountered: