Google One Tap
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
Google One Tap module provides seamless authentication flows to your users with Google's one tap sign-up and automatic sign-in APIs.
With one tap sign-up, users are prompted to create an account with a dialog that's inline with your page's content, so they're never taken out of context by a sign-up page. With just one tap, they get a secure, token-based, passwordless account with your service, protected by their Google Account. And, of course, since there's such little sign-up friction, users are much more likely to register.
Read more on https://developers.google.com/identity/one-tap/web/
Prerequisites
This module requires google/apiclient
composer package, therefore must be installed with composer.
How to start?
- Create new oAuth api key on https://console.developers.google.com/apis/credentials (choose Web Site, add Authorized JS Source, and Save)
- Add obtained client ID to setting.php (or settings.local.php), eg.
$config['google_one_tap.configuration']['client_id'] = 'test-test.apps.googleusercontent.com';
- Remember you only see sign-in/sign-up screen if you're logged in to at least one of your google accounts, browsing Drupal as anonymous user and you are on front, user login or register page.
Disclaimer
Google One Tap is proof-of-concept, experimental module and stability and security issues may occur. Please, do not hesitate to report them.