我正在使用gem omniauth-google-oauth2從Google Rails應用登錄。 這些天我得到這個錯誤:Google Oauth使用omniauth-google-oauth2登錄頻繁失敗
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
}
],
"code": 403,
"message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
}
}
相同的設置將工作的優良本地主機,但常常失敗,在生產的某個時候工作。我不知道發生了什麼事? Google最近是否在更改API?我需要啓用哪些API才能登錄並獲取用戶信息?
我不必添加通訊錄API – adamwong246