Google Login integration Error: 401. Error: deleted_client The OAuth client was deleted. What is the solution here?

北战南征 提交于 2021-02-19 04:24:11

问题


I wanted to integrate Google Login with my website. I have created an oauth client with proper Authorized JavaScript origins and Redirect URIs. I have also enabled APIs and used client ID and Secret Key. I have been shown the following error many times:

401. That’s an error.

Error: deleted_client

The OAuth client was deleted.

Request Details are as follows:

redirect_uri=storagerelay://https/www.#mysite.com?id=auth357681
response_type=permission id_token
scope=email profile openid
openid.realm=
client_id=#myclientid
ss_domain=https://www.#mysite.com
fetch_basic_profile=true
gsiwebsdk=2

"#value is hidden here."

What could be the issue? I have tried creating it many times but same error has been opening up. P.S. I have also tried many other solutions for similar questions but no use.


回答1:


I have resolve like same issue please check your google-signin-client_id, recreate google-signin-client_id and change the value of meta google-signin-client_id

<meta name="google-signin-client_id" content="12345678-gbgin9h7q69rpjehq1cd2441b4nosnid.apps.googleusercontent.com">

For more information https://developers.google.com/identity/sign-in/web/sign-in



来源:https://stackoverflow.com/questions/49492883/google-login-integration-error-401-error-deleted-client-the-oauth-client-was

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