Google One Tap backend
Expected behaviour
A user should be able to login using Google One tap
Actual behaviour
Only the code flow is supported
Has anyone managed to write a custom backend for this? Thank you
I have the same problem and will try to create a custom backend tomorrow. If you already have it please share it with me. Thx @mcosti
Done, @mcosti
Steps
- Add the fork as the requirement
git+https://github.com/aalbinati/social-core@google-id-implementation#egg=social-auth-core - Add these parameters to the SETTINGS.PY if using Django
AUTHENTICATION_BACKENDS = (
...
'social_core.backends.google_id.GoogleIdAuth',
)
SOCIAL_AUTH_GOOGLE_ID_CLIENT = "Your Google Web Client ID"
- Use 'google-id' as your provider
Tell me if it works for you!
@aalbinati Would you mind submitting it back? Tests and documentation will be needed for that.
@nijel I'd be glad to do it in my spare time. I will let you know when I finish it.
Landed in https://github.com/python-social-auth/social-core/pull/1015.