Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google One Tap backend #881

Open
mcosti opened this issue Feb 5, 2024 · 4 comments
Open

Google One Tap backend #881

mcosti opened this issue Feb 5, 2024 · 4 comments

Comments

@mcosti
Copy link

mcosti commented Feb 5, 2024

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

@aalbinati
Copy link

aalbinati commented Aug 21, 2024

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

@aalbinati
Copy link

Done, @mcosti

Steps

  1. Add the fork as the requirement git+https://github.com/aalbinati/social-core@google-id-implementation#egg=social-auth-core
  2. 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"
  1. Use 'google-id' as your provider

Tell me if it works for you!

@nijel
Copy link
Member

nijel commented Aug 23, 2024

@aalbinati Would you mind submitting it back? Tests and documentation will be needed for that.

@aalbinati
Copy link

aalbinati commented Aug 23, 2024

@nijel I'd be glad to do it in my spare time. I will let you know when I finish it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants