{“error”:“invalid_client”,“message”:“Client authentication failed”}

China☆狼群 提交于 2019-12-04 06:23:39

问题


I completed these steps

  • Installed laravel/passport.
  • Created a website user.
  • Generated passport keys PHP artisan passport: install
  • Generated client_id and client_secret using PHP artisan passport:client
  • Added redirection and callback routes in web.php
  • Authorized the user and got the final access token.

    client information step in the action console. find my application in the home app but when I log in to the web page show client authentication failed.

Thanks in advance for the help


回答1:


The link you provide for the "redirect" URI must be the one that Google has specified. You're redirecting to Google's servers with the information - not your own server.

This URI should be in the form

https://oauth-redirect.googleusercontent.com/r/YOUR_PROJECT_ID

where YOUR_PROJECT_ID is replaced with the project ID for your Action.



来源:https://stackoverflow.com/questions/58169374/errorinvalid-client-messageclient-authentication-failed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!