Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
Social auth google api
This module provide a endpoint to login to drupal by google's access_token
And this module use the same logic of social_auth_google
Dependencies:
Endpoint
Url:
`/user/login/google?_format=json` [POST]
Post body:
{
"access_token": "ya29.ImC2BzNJSH5ibv3bzX8HCVC1W-9xDxduGltC_S9GWqsTsPQAKXgjqryA7w8ojD2eckUoPjsdGlZpSumtBfg6H3ARVx-igGoK4aBEbM6v8qoG3NHrOOCesd9Kcsf8EaCcOPD"
}
Return:
{
"current_user": {
"uid": "104",
"name": "lawxen Liu"
},
"csrf_token": "7PH3oF4ATGrTT0Jh8PgbHHLQavS3p9NlJmP3clAfV-A",
"logout_token": "NNDK1qT4qh4NRTEh5n1eWIVx025cL6QfMvCXjwo6Zk4"
}
Project information
- Seeking new maintainer
The current maintainers are looking for new people to take ownership. - Module categories: Access Control
- 7 sites report using this module
- Created by lawxen on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.