Download the PHP package steelze/google-one-tap without Composer
On this page you can find all versions of the php package steelze/google-one-tap. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download steelze/google-one-tap
More information about steelze/google-one-tap
Files in steelze/google-one-tap
Package google-one-tap
Short Description Google One Tap Login For Laravel
License MIT
Homepage https://github.com/steelze/google-one-tap
Informations about the package google-one-tap
Google One Tap Login
This package integrates Google's one tap login into a laravel project.
Installation
You can install the package via composer:
The service provider will automatically be registered.
Next, you must publish the config file:
This is the contents of the default configuration file. Here you can modify configurations .
Usage
Update the login uri in the config file. The specified uri will be called by google and the credential is posted to this endpoint
Within the route callback handler, call the GoogleOneTapFacade::getUserFromProvider()
method. This method will return an array of the logged in user details or throw an exception if an error occured.
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Odunayo Ogungbure
- All Contributors
License
The MIT License (MIT). Please see License File for more information.