Restore deleted (?) Google OAuth client app for production system

我是研究僧i 提交于 2019-12-08 15:29:40

问题


we are getting a 401 Error from Google API:

401. That’s an error.
Error: deleted_client

The OAuth client was deleted.

It seems that the Google-OAuth-API Client was deleted. Maybe on firebase? Whould be really strange when we delete a firebase project that it is also deleted on Google API...

Is there any way to restore this?!

Thanks a lot for your help!

Best


回答1:


For everyone who has this problem too. Found the solution:

Project owners can restore a deleted project within the 30-day recovery period that starts when the project is shut down. Restoring a project returns it to the state it was in before it was shut down. Cloud Storage resources are deleted before the 30-day period ends, and may not be fully recoverable.

Some services might need to be restarted manually. For more information, see Restarting Google Cloud Platform Services.

To restore a project:

Go to the Manage Resources page in the Google Cloud Platform Console.

In the Organization drop-down in the upper left, select your organization.

Below the list of projects, click Resources pending deletion.

Check the box for the project you want to restore, then click Restore. In the dialog that appears, confirm that you want to restore the project.

Source: https://support.google.com/cloud/answer/6251787?hl=en




回答2:


This is only possible currently by contacting Google Cloud support, and even then it's not guaranteed they can do it. I just went through the process. The support engineer did mention that they're working to build out "undo-delete" as a feature but they didn't have any dates to share.



来源:https://stackoverflow.com/questions/39052052/restore-deleted-google-oauth-client-app-for-production-system

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