Cannot login to Google on Linux Mint - Secure storage issue
Just installed electron via Snap on linux mint and when i tried to log into youtube, got the following error. I know on my home pc (using ubuntu with i3) that I can log into Netflix and Youtube.

I don't know what is causing that issue for you. I am able to login to Youtube on my computer. Can you reproduce it on another computer? I am on a Mac could it be due to Linux? (I currently don't have a Linux computer but I will check this issue when I have one).
the problem is two-factor authentication, I also have this error.
I just tried logging in and it is working now. I didn't have 2FA enabled for my google account at the time, so I don't think it is related to 2FA
I tried with 2 accounts, with and without 2FA. the account with 2FA has the problem. But if you get the error even if it doesn't have 2fa, it's some protection enabled in the google account settings.
I can not login at google too. I am running electronplayer-2.0.7.dmg on OSX Catalina
It says:
This browser or app may not be secure. Learn more
Try using a different browser. If you’re already using a supported browser, you can refresh your screen and try again to sign in.
I was able to register new Google Account through electronplayer. Do not know yet will it let me login after logout.
Can you try clicking Learn more (maybe send me the link) because I do not know what is causing this? Possibly it is user agent related but I am not sure.
It redirects you to this page: https://support.google.com/accounts/answer/7675428
Saying
These and other browsers support JavaScript: Chrome Safari Firefox Opera Internet Explorer Edge
yup still an issue. Same here. Ubunutu. Google. Can we not just fake the User Agent or something?
its work thanks for the tips, add this in the config file:
"userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0"
no worries. Hacky to help. ;)
@oscartbeaumont any chance of? I feel a 🔐 coming on. And everyone likes a closed... You're not gonna make us poor plebs make pull for one line are you ;)
I have already fixed the issue in version 3.0.0 but it hasn't been released or pushed to git because it's a complete rewrite of the app and is still missing functionality. I will finish it when I get some time and publish it.
Where do I put the userAgent line? My config.json file looks like this and it does not work:
{ "version": "2.0.8", "services": [], "_do_not_edit___date_": 1592651896581, "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0" }
You can view the example config here which shows it is on a per service basis (specially Youtube TV which changes its user agent). In the next release of the app I think i'm going to default the user agent to be the default for a Chrome installation on your respective OS to prevent issues like these happening and hopefully add a GUI for settings to make it much easier and less confusing like it is now. Currently there is no global user agent modifier.
Same issue on youtube (cannot connect to google) ubuntu 20.04, ElectronPlayer 2.0.7
config settings:
{ "version": "2.0.7", "services": [ { "name": "Netflix", "logo": "services/netflix.png", "url": "https://netflix.com/browse", "color": "#e50914", "style": {} }, { "name": "YouTube", "logo": "services/youtube.svg", "url": "https://youtube.com", "color": "#ff0000", "userAgent": "Mozilla/5.0 (SMART-TV; Linux; Tizen 4.0.0.2) AppleWebkit/605.1.15 (KHTML, like Gecko)", "style": {} }, { "name": "Twitch", "logo": "services/twitch.svg", "url": "https://twitch.tv", "color": "#6441a5", "style": {} }, { "name": "Floatplane", "logo": "services/floatplane.svg", "url": "https://floatplane.com/", "color": "#00aeef", "style": {} }, { "name": "Hulu", "logo": "services/hulu.svg", "url": "https://www.hulu.com/", "color": "#00aeef", "style": {} } ] }
do you know what is the problem ? Thank you !
@jcsekinger you've put a different userAgent than the one suggested.
xMase suggested
"userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0"
but you put
"userAgent": "Mozilla/5.0 (SMART-TV; Linux; Tizen 4.0.0.2) AppleWebkit/605.1.15 (KHTML, like Gecko)".
Note: you don't need to put the configs for all sites, just the ones where you've made changes are enough, i.e.
"services": [
{
"name": "YouTube",
"logo": "services/youtube.svg",
"url": "https://youtube.com/",
"color": "#ff0000",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0",
"style": {},
"permissions": []
}
],
@Syndamia @oscartbeaumont it doesn’t work either – and I tried several user agents without success «navigateur non sécurisé» any idea ?
Maybe try adding the following as a service and open it to login, then you could probably remove it.
{
name: 'Google Login',
logo: 'services/youtube.svg',
url: 'https://accounts.google.com',
color: '#ff0000',
style: {},
userAgent: "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84",
permissions: []
},
Please report back if this works as I have not tested it.
@jcsekinger I also wanna mention that you are on an older version of the app, 2.0.7 (which is more than an year old) as opposed to the newest one, 2.0.8, from a couple of months ago.
I don't know if that makes a difference for this problem though.
@oscartbeaumont same issue… doesn’t understand any other idea ? :) thank you
@oscartbeaumont @Syndamia Do you have a complete exemple of the settings for the 2.0.8 (I have an appimage) ? for now, the settings are just : { "version": "2.0.8", "services": [], "do_not_edit___date": 1597601659436 }
@oscartbeaumont this is my configuration file (without some other settings I have set up)
{
"version": "2.0.8",
"services": [
{
"name": "YouTube",
"logo": "services/youtube.svg",
"url": "https://youtube.com/",
"color": "#ff0000",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0",
"style": {},
"permissions": []
}
],
"_do_not_edit__date": 1597565793597,
"options": {},
"relaunch": {}
}
@oscartbeaumont this is my configuration file (without some other settings I have set up)
{ "version": "2.0.8", "services": [ { "name": "YouTube", "logo": "services/youtube.svg", "url": "https://youtube.com/", "color": "#ff0000", "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0", "style": {}, "permissions": [] } ], "_do_not_edit__date": 1597565793597, "options": {}, "relaunch": {} }
ça marche !!! (j’en oublie l’anglais) It works ! Thank you !
@oscartbeaumont this is my configuration file (without some other settings I have set up)
{ "version": "2.0.8", "services": [ { "name": "YouTube", "logo": "services/youtube.svg", "url": "https://youtube.com/", "color": "#ff0000", "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0", "style": {}, "permissions": [] } ], "_do_not_edit__date": 1597565793597, "options": {}, "relaunch": {} }
i cant seam to get this to stay it just reverts back to the defalt config file is thare a way to stop this?