GoogleOAuth 2授權-錯誤:重定向_uri_失配在網站上https://code.google.com/apis/console我已經注冊了我的申請,設置了生成客戶ID:和客戶秘密我的應用程序,并試圖登錄到谷歌。不幸的是,我收到了錯誤消息:Error: redirect_uri_mismatch
The redirect URI in the request: http://127.0.0.1:3000/auth/google_oauth2/callback did not match a registered redirect URI
scope=https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email
response_type=code
redirect_uri=http://127.0.0.1:3000/auth/google_oauth2/callback
access_type=offline
approval_prompt=force
client_id=generated_id這條信息意味著什么,我如何才能修復它?我用寶石無所不在-谷歌-OAuth2.
3 回答

牧羊人nacy
TA貢獻1862條經驗 獲得超7個贊
client ID
& client secret

回首憶惘然
TA貢獻1847條經驗 獲得超11個贊
postmessage
添加回答
舉報
0/150
提交
取消