Sorry, we don't support your browser.  Install a modern browser

Disabling 3rd party cookies prevents login#149

Just shows an indefinite spinner

5 years ago

Hi Nathan, I have setup opera but I wasn’t able to recreate this :(

Can I confirm with you that this was just in Opera, and it works in other browsers.

If it is still broken please try going to: https://youneedawiki.com/app/support and clicking sign out or refresh the page.

5 years ago
Changed the status to
[Deleted status]
5 years ago

Thanks grant, this gave me the following error:

app.js?v=6bbbe37:1 componentDidMount {error: "idpiframe_initialization_failed", details: "Cookies are not enabled in current environment."}details: "Cookies are not enabled in current environment."error: "idpiframe_initialization_failed"

Which helped me narrow down the issue. The problem only occurs when you disable third party cookies. In Opera you do this via Settings > Privacy & Security > Site Settings > Cookies.

I have not had any such issue with other sites. Your site is the first I’ve encountered that seems to rely on third party cookies to operate.

5 years ago

This is great thanks Nathan, I was able to recreate this issue in Opera and Chrome by switching off cookies.

I will rename this ticket to reflect that.

The solution looks to be implementing server side login.

A temporary fix is to go to: opera://settings/content/cookies and add accounts.google.com

I understand this is not a good long term solution but might hold you over until we get server side login implemented.

Notes:
https://github.com/google/google-api-javascript-client/issues/260
https://developers.google.com/identity/sign-in/web/troubleshooting#third-party_cookies_and_data_blocked
https://developers.google.com/identity/sign-in/web/reference#googleauththenoninit-onerror

5 years ago
Changed the title from "App doesn't load on Opera" to "Disabling cookies prevents login"
5 years ago

Thanks for the workaround, I’ll give that a shot.

To be clear though the problem is specific to third party cookies. Of course disabling cookies altogether would be problematic.

5 years ago
Changed the title from "Disabling cookies prevents login" to "Disabling 3rd party cookies prevents login"
5 years ago

Ahh yep you’re right. Updated.

5 years ago

Note that this also affects Brave browser.

5 years ago
Changed the status to
Unassigned
4 years ago
Changed the status to
[Deleted status]
4 years ago
Changed the status to
Unassigned
4 years ago
1