Login Social: Google

Setup Google Client ID

Go to site credential of console google

Configure your consent screen

Check Authorized JavaScript origins and Authorized redirect URIs

Get Client Id to config in website

Config in config website

Enable login google and setup google client ID in _config.js

Cần cấu hình ở API

  • Cấu hình ClientId, Secret key

  • Cấu hình link gì đó (lỗi đăng nhập có token rồi nhưng gọi các api khác thì bị 401)

Last updated