python-social-auth / social-app-django

Python Social Auth - Application - Django
BSD 3-Clause "New" or "Revised" License
2k stars 374 forks source link

Login with Google One Tap #275

Open alvarovelezgalvez opened 4 years ago

alvarovelezgalvez commented 4 years ago

Hi folks!

Firstly, thanks for the project, its really a great piece of code inside.

My question is regarding new Google One Tap system. Has anybody tried out to make this system work with Python Social Auth?

I have tried several methods with no luck until now. Not sure if I have to create a customized backend to it, or is possible to reuse any of the already created Google ones.

Any advice will be welcome.

Regards, Álvaro

Jenselme commented 3 years ago

I'm also trying to integrate One Tap and it's not obvious. Does anyone have pointers on how to do this? The identification flow is very different from what we do with oauth2.

alvarovelezgalvez commented 3 years ago

Hi @Jenselme ,

Meanwhile I have a created a separated view for Google One Tap. It's quite rudimentary buy for me is doing the work. Maybe it can be helpful to you: https://gist.github.com/alvarovelezgalvez/f97231c3f92320f47c6b0b04ea9e05c3