I recently installed your button add-on on the newly updated firefox running on ubuntu linux. The installation is successful, but I cannot log in through the app.
When I write in a wrong address/password the app reacts by showing the error message, but when I write in the correct ones it does not react at all.
I have already done a password reset, but after that I realized that it was not the password the problem (I mentioned that it recognised a wrong email/password combo correctly), but the lack of any reaction.
Case #392313
Another issue with the Log-in button in Firefox:
I'm trying to use the Firefox add-in with my account and don't seem to be able to log-in. I type in my username and password in the box, but clicking on the green Log In button does nothing. My account is an email / password combination. The problem is not authentication related, it's a problem with the log in button. When I press the button on the add-in, it does nothing. I can click on the Toggl button and forgot password but, but Log In doesn鈥檛 do anything.
Re-adding the extension didn鈥檛 work either or disabling all other add-ins
Case #393837
I've also hit this error, using Firefox 50.1.0 with the plugin up to date as of the 27th Jan. I've had a go at debugging this:
It looks to me like the loginUser function in src/scripts/backgroud.js doesn't store the API token it receives from the authentication response - it then calls fetchUser with no token, so that that function tries to retrieve a token from local storage, and fails to find one. I've switched the line TogglButton.fetchUser(); in loginUser for TogglButton.fetchUser(JSON.parse(xhr.responseText).data.api_token); and can now login and use the plugin as expected.
This can't be the real/whole cause, because then no-one would be able to login with the plugin, instead of the apparent few that have been affected. Nevertheless, this fixes this issue for me.
Hope that helps!
Another Firefox/Linux user mentioned the same problem.
Case: 454729
Same issue here... with Firefox 53.0.3
This worked before for me... But when I uninstalled the extension and re installed it, the issue started to appear.
One more Linux/FF user reported the same problem. They are a web developer who tried debugging it themselves. This is what they wrote
- $loginView is showing
- logic up to the sending of the Ajax request works
- the onError-Callback gets called, but the request data seems empty
Requests:
- GET /api/v8/me : 403
- POST /api/v8/sesions: 200 (see screenshot attached)
- GET /api/v8/me 403
A screenshot of their Network tab is available in case 501199.
I can not login with Ubuntu and FF 54. Issue started today. Why enter credentials i get:
Error connecting to server
I use the button every day it just stopped working today. Also remove and reinstall doesn't help.
Today the login works again. No restart necessary, just waited a day.
Same problem here on Linux. Tried to remove and install again the addon without much success
Any plan on when you will fix this issue? It would be super convenient for me to use it...
@fonorobert Can you also reproduce this one?
@vedr4n i could successfully log in on FF 57, Manjaro Linux.
@EtienneM what FF version are you running?
I use Firefox 57 on Arch Linux.
On of my coworker has Firefox 57 on Arch Linux and is successfully using your extension (and your extension looks awesome by the way! :-).
I ran a fresh Firefox with firefox --profile /tmp, just installed your extension and it works. Maybe a conflict with an extension I use?
I disabled all my extensions, deleted Toggl, re-installed Toggl, tried to connect and still nothing... :(
Maybe I should remove all of them but it would be pretty annoying ^^
I'm afraid I'm not sure what could be causing that then. The dev team might have some ideas although it's possible it really is something specific to your setup or one of your other extensions.
Well not only my setup apparently (https://addons.mozilla.org/fr/firefox/addon/toggl-button-time-tracker/reviews/) but I will keep investigating also on my side :-)
I was able to fix this issue by:
.mozilla/firefox/yourid.default/browser-extension-data/[email protected] Hopefully this helps someone else.
Didn't work for me
I got the solution!!!
In a new browser tab, type about:config. Ignore the warning and look for the network.cookie.cookieBehavior key. Its value is probably something different than 0. Set it to 0 and the login will work as expected! :D
Here is the documentation about this value: http://kb.mozillazine.org/Network.cookie.cookieBehavior
So this is the value that is changed if you modify the behavior of Firefox about third-party cookies (preferences -> Privacy & Security) and set it to "Never". Setting it to "From visited" or "Always" makes the plugin works :-D
Does it solves the problem for anyone else?
@EtienneM Wow! Yes, that fix works for me.
If you set the value to 0 ("Always" in the preferences GUI), it should Just Work.
If you want a more restricted value like "from visited" (3 in about:config), add "toggl.com" to the list of cookie exceptions.
@EtienneM Yep, changing setting "Accept third-party cookies" from "never" fixed it for me too. Thank you!
Also, it seems you only need to accept cookies for the login, button will work as expected even if after login the setting will be set back to "never".
Considering that the default value of network.cookie.cookieBehavior is 0 (which is the one that makes the login work normally), I'm closing this.
Thank you @EtienneM!
Most helpful comment
I got the solution!!!
In a new browser tab, type
about:config. Ignore the warning and look for thenetwork.cookie.cookieBehaviorkey. Its value is probably something different than0. Set it to0and the login will work as expected! :DHere is the documentation about this value: http://kb.mozillazine.org/Network.cookie.cookieBehavior
So this is the value that is changed if you modify the behavior of Firefox about third-party cookies (preferences -> Privacy & Security) and set it to "Never". Setting it to "From visited" or "Always" makes the plugin works :-D
Does it solves the problem for anyone else?