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.

  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.

Trending on Indie Hackers
Getting first 908 Paid Signups by Spending $353 ONLY. 25 comments I talked to 8 SaaS founders, these are the most common SaaS tools they use 20 comments What are your cold outreach conversion rates? Top 3 Metrics And Benchmarks To Track 19 comments How I Sourced 60% of Customers From Linkedin, Organically 12 comments Hero Section Copywriting Framework that Converts 3x 12 comments Promptzone - first-of-its-kind social media platform dedicated to all things AI. 8 comments