1
2 Comments

Integrate GMail login, how to deal with cross-site cookies?

Hi,

So, after seeing a lot of people here that had a huge increase in converting visitors to users by adding a Register and Login button with Gmail I've tried to do it myself.

Right now I'm facing a big problem:
Cross site cookies are blocked by default on most browsers and the only way to add Gmail login that I found is using that.

So how can I do it without in browser that have blocked cross site cookies by default?

PS: I know it's possible, as there are sites that work for me, with cookies blocked, but my site isn't working.

on February 17, 2020
  1. 1

    What documentation/process are you following?

    1. 1

      I've tried both of these: https://github.com/guruahn/vue-google-oauth2 and https://www.npmjs.com/package/vue-google-login

      There is also an issue open about this: https://github.com/google/google-api-javascript-client/issues/561
      I've tried every solution from there but nothing is working for me.