OAuth同意屏幕-删除应用程序徽标的功能 [英] OAuth consent screen - ability to remove application logo

查看:228
本文介绍了OAuth同意屏幕-删除应用程序徽标的功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在OAuth同意屏幕上错误地添加了应用程序徽标(URL: https://console.cloud.google.com/apis/credentials/consent ),现在它说我的同意屏幕需要Google验证.

I added an application logo by mistake on the OAuth consent screen (URL: https://console.cloud.google.com/apis/credentials/consent), and now it says my consent screen requires verification by Google.

有什么方法可以从同意屏幕中删除应用程序徽标?

Is there any way to remove the application logo from the consent screen?

修改: 我之前并没有明确说明,但我想删除徽标以摆脱验证通知.

I didn't make it clear before but I wanted to remove the logo to get rid of the verification notice.

推荐答案

要删除徽标,请按照以下步骤操作:

In order to delete the logo, follow these steps:

  • 在Chrome或Chromium衍生物中打开OAuth同意屏幕配置. https://console.cloud.google.com/apis/credentials/consent
  • 上传与先前上传的图像不同的任何图像.
  • 打开开发人员工具(F12或Ctrl + Shift + I).
  • 打开网络"标签.
  • (可选)按清除"按钮使以后搜索更加容易.
  • 单击网站上的保存"按钮以上传新徽标. (如果保存"按钮被禁用,请执行完整的提交验证"过程.)
  • 在网络"标签中,查找类似于"123456789987?alt = json& key = ..."的请求.
  • 单击条目并确保请求方法"为PUT.
  • 右键单击该条目,然后选择复制"->复制为cURL(bash)".
  • 将其粘贴到文本编辑器中,然后搜索文本"iconUrl":"https://...".
  • 将文本更改为如下所示:"iconUrl":"".
  • 回到站点,打开Cloud Console会话(顶部菜单栏中的终端图标),然后粘贴修改后的命令,然后运行它.
  • 验证徽标已从同意屏幕中删除,并且验证状态已更改.
  • Open the OAuth Consent Screen Configuration in Chrome or a Chromium derivative. https://console.cloud.google.com/apis/credentials/consent
  • Upload any image that differs from the one previously uploaded.
  • Open your Developer Tools (F12 or Ctrl+Shift+I).
  • Open the Network tab.
  • (Optional) Press the Clear button to make it easier to search later.
  • Click the Save button on the website to upload the new logo. (If the Save button is disabled, go through the full "Submit for Verification" process.)
  • In the Network tab, look for a request similar to "123456789987?alt=json&key=...".
  • Click on the entry and ensure that the Request Method is PUT.
  • Right-Click the entry and select "Copy"->"Copy as cURL (bash)".
  • Paste it into a text editor and search for the text "iconUrl":"https://...".
  • Change the text to read like the following: "iconUrl":"".
  • Back on the site, open up a Cloud Console session (The terminal icon in the top menu bar) and paste the modified command, then run it.
  • Verify that logo got removed from consent screen and verification status has changed.

请记住,这可能需要您再次验证您的应用.

Please keep in mind that this may require you to verify your app again.

自2020年6月11日以来,有一个功能请求公开,要求加入删除徽标按钮,以使此过程更容易.请留下您的评论,给问题加星号,如果您也受到此问题的影响,请留下+1.

Since June 11th of 2020 there's a Feature request open requesting the adition of a remove logo button to make this process easier. Please leave your comment, star the issue and leave a +1 if you are also affected by this issue.

这篇关于OAuth同意屏幕-删除应用程序徽标的功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆