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

Safari doesn't stay logged in when closing a tab#177

Unfortunately on safari the session does not stay logged in once a user closes the tab. This is due to updates to how Safari stores cookies. It doesn’t allow storing cookies from different domains for more than one session, and google’s client side login requires a different domain cookie.

The stop-gap fix is for users to go to:

  • Safari > Preferences > Privacy > Uncheck Prevent cross-site tracking
  • Then quit Safari

The same applies for mobile:

  • Settings > Safari > Uncheck Prevent cross-site Tracking.
  • Then quit the Safari app.

A long term fix will be to implement server-side login, or if gapi.client gets fixed it will be irrelevant.
I’ll look into this again towards the end of the year if it hasn’t been looked at by Google yet.

Details:
https://github.com/google/google-api-javascript-client/issues/342

5 years ago

Example:

5 years ago