![](/img/trans.png)
[英]LinkedIn API: The token used in the OAuth request has been revoked
[英]Laravel 5.5 Google OAuth authentication using Socialite Package (Legacy People API has not been used in project)
我試圖為我的應用程序添加谷歌身份驗證,該應用程序使用 laravel 5.5 和Laravel Socialite構建。 因此,我通過谷歌開發者控制台創建了一個谷歌開發者帳戶並啟用了google+ api 。
因此,當我嘗試注冊時重定向到回調 url 它給了我以下錯誤。 我幾乎經歷了很多文檔和stackoverflow問題。 但沒有運氣。
這是錯誤
GuzzleHttp\異常\客戶端異常(403)
Client error: `GET https://www.googleapis.com/plus/v1/people/me?prettyPrint=false` resulted in a `403 Forbidden` response: { "error": { "code": 403, "message": "Legacy People API has not been used in project
使用 Socialite:: with (' G oogle')->user();
這是幫助我
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.