Open jamesevans1808 opened 1 month ago
I've not had experience with Google One Tap login, but I'll look into it!
I've not had experience with Google One Tap login, but I'll look into it!
Nice one, thank you! I did make some headway in implementing it myself, but I ended up banging my head against a wall when it came to proper verification of the token.
@engram-design
I've managed to get this working outside of the social login plugin following the instructions listed here: https://developers.google.com/identity/gsi/web/guides/verify-google-id-token#php
Hopefully this is helpful for you guys as it was for me.
Question
I'm trying to get the Google One Tap auth functionality (the little pop up that appears in the top right of the page if you're logged into your Google account in your browser) working with the Google login from this plugin. I'm just unsure what URL I should be passing in as the login uri, as the formie.io one for local development doesn't seem to work. Here's an example of the snippet I am using to set it up below, with data-client_id and data-login_uri replaced due to being sensitive data:
Any help would be greatly appreciated, even if it is just integrating this with Craft.
Many thanks
Additional context
https://developers.google.com/identity/gsi/web/guides/offerings
https://developers.google.com/identity/gsi/web/tools/configurator