Google auth issue

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
lazyest
Hobby Astronomer
Hobby Astronomer
Posts: 28
Joined: 2016-02-25, 08:09
Location: Minsk, Belarus

Google auth issue

Unread post by lazyest » 2023-12-06, 09:49

Can someone advice any steps to fix issue

https://admin.hossted.com/signin didn't show google login button. It complains to

Code: Select all

The resource from “https://accounts.google.com/gsi/client” was blocked due to MIME type mismatch (X-Content-Type-Options: nosniff).
theoretically I'm able to influence to site's codebase but need exact recomendation

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35651
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Google auth issue

Unread post by Moonchild » 2023-12-06, 13:28

lazyest wrote:
2023-12-06, 09:49
exact recomendation
Web server configuration. Either supply the correct MIME type for the file fetched, or do not include the "nosniff" header (which prevents browsers from guessing content type based on response content)
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

lazyest
Hobby Astronomer
Hobby Astronomer
Posts: 28
Joined: 2016-02-25, 08:09
Location: Minsk, Belarus

Re: Google auth issue

Unread post by lazyest » 2023-12-12, 08:04

But anyhow, is there any way to somehow lower strict policy following for these kind of issues? Its not the only case of PM going holier then Pope ;) Its mostly about https following I think, with nosniff and self-signed certificates also comes to mind as examples of too strict policy following without easy way to get exception

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35651
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Google auth issue

Unread post by Moonchild » 2023-12-12, 08:33

lazyest wrote:
2023-12-12, 08:04
going holier then Pope
... following the standards isn't going "holier than the Pope".
In fact, the compromises mainstream browsers make to "connect silently at all costs" are pretty bad when you look at the intent of the standards they break with just to stop the complaints from users who don't understand.

If a server explicitly adds "nosniff" to their configuration, then they explicitly tell the browser to "use only what the server tells you the file type is". Making exceptions to that literally makes the whole premise behind that spec moot.

I won't get into the whole "don't use self-signed certs on production" explanation. read a basic network security course document to know why.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

lazyest
Hobby Astronomer
Hobby Astronomer
Posts: 28
Joined: 2016-02-25, 08:09
Location: Minsk, Belarus

Re: Google auth issue

Unread post by lazyest » 2023-12-13, 09:38

thats pretty weird. I've installed recent PM to some windows7 VM and its working, showing google button OK but still shows nothing in my linux one. What else can I debug? I've tried Incognito mode also, same result

User avatar
therube
Board Warrior
Board Warrior
Posts: 1651
Joined: 2018-06-08, 17:02

Re: Google auth issue

Unread post by therube » 2023-12-13, 16:37

Try Safe Mode.

If that doesn't work, test in a new, clean Profile.

lazyest
Hobby Astronomer
Hobby Astronomer
Posts: 28
Joined: 2016-02-25, 08:09
Location: Minsk, Belarus

Re: Google auth issue

Unread post by lazyest » 2023-12-14, 07:34

therube wrote:
2023-12-13, 16:37
Try Safe Mode.

If that doesn't work, test in a new, clean Profile.
Private mode was one of the first ideas and it didn't help

lazyest
Hobby Astronomer
Hobby Astronomer
Posts: 28
Joined: 2016-02-25, 08:09
Location: Minsk, Belarus

Re: Google auth issue

Unread post by lazyest » 2023-12-14, 07:38

its working on clear profile.

User avatar
Kris_88
Keeps coming back
Keeps coming back
Posts: 940
Joined: 2021-01-26, 11:18

Re: Google auth issue

Unread post by Kris_88 » 2023-12-14, 07:58

lazyest wrote:
2023-12-14, 07:38
its working on clear profile.
The implication is that this is checked before the question is even asked.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35651
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Google auth issue

Unread post by Moonchild » 2023-12-14, 11:39

lazyest wrote:
2023-12-14, 07:34
Private mode was one of the first ideas and it didn't help
Safe mode is not the same as private browsing. Did you check the link?
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

lazyest
Hobby Astronomer
Hobby Astronomer
Posts: 28
Joined: 2016-02-25, 08:09
Location: Minsk, Belarus

Re: Google auth issue

Unread post by lazyest » 2023-12-15, 09:24

Moonchild wrote:
2023-12-14, 11:39
lazyest wrote:
2023-12-14, 07:34
Private mode was one of the first ideas and it didn't help
Safe mode is not the same as private browsing. Did you check the link?
sure. Same thing in SM. I assume thats something wrong with profile after all but I have pretty much saved passwords etc and have no sync anywhere external so maybe there is a safe list of files to remove from profile dir to cleanup everything but passwords? Quick look shows dozens of unsure ones for me

lazyest
Hobby Astronomer
Hobby Astronomer
Posts: 28
Joined: 2016-02-25, 08:09
Location: Minsk, Belarus

Re: Google auth issue

Unread post by lazyest » 2024-01-03, 08:13

Just in case someone else will came here and will search for solution, I've created new profile and copied actual two files from old one, key4.db, logins.json and everything was fixed after