Reputation: 3321
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?
Edit: I didn't make it clear before but I wanted to remove the logo to get rid of the verification notice.
Upvotes: 96
Views: 30253
Reputation: 478
As of March 17, 2023, this functionality should finally be working according to Buganizer
I'm happy to share that you are now able to remove your app logo from the OAuth consent screen configuration in Google Cloud Console. We know that this has been very frustrating for our developer community, and apologize for how long it has taken to give you this basic capability.
Some details about the feature:
- if your OAuth consent screen hasn't been verified, removing a logo takes effect instantly if you have completed verification, you cannot immediately remove your existing logo, but you can replace it and submit for re-verification (this seems counterintuitive, but it's part of our efforts to protect your developer account from abuse)
- if you are stuck in verification and want to back out, you can change the Publishing Status back to "testing" (but beware that you should only do this if your app is not live with users, otherwise it may affect their ability to sign in)
- This is one of many features that we are now actively working on to improve the OAuth experience, so you spend less time on configuration and can focus on building apps that delight our shared users. Thanks for your patience, and for being part of the Google Developers community.
Upvotes: 1
Reputation: 2351
As of Jan 2023 (confirmed by hlustosa) icon can be removed with the following steps. Please note that if your project is not already in an organization you will be stuck at the step 8 unless you can add your project to an organization.
Since this is a combination of two answers above with additional steps I put all the steps here for clarity. Credits to @Chris32 and @ropsnou for the initial steps.
/icon
from the urlDELETE
--data-raw
parameter and its long valueINVALID_ARGUMENT
error you probably still have an API key or Client ID associated with the consent screen (Check the Credentials tab on GCP). If you get {}
the command was successful and the logo was removed. However, together with the logo a larger brand entity was also removed, and if you try to modify the consent screen you will get "An error saving your app has occurred."gcloud alpha iap oauth-brands create --application_title='<title>' --support_email='<email>'
Upvotes: 40
Reputation: 971
Just to be aware.
You may not be able to use "Auth0 consent screen" again after the recommendations of the others post.
{"error":{"code":5,"message":"The resource has been deleted.","details":[{"@type":"type.googleapis.com/google.rpc.ErrorInfo","reason":"RESOURCE_DELETED","domain":"clientauthconfig.googleapis.com","metadata":{"resource_name":"[\"brand\"]"}}]}}]
and if this happen, please use the follow command that @SamuliAsmala recomended.
gcloud alpha iap oauth-brands create --application_title="TITLE" --support_email="EMAIL"
Upvotes: 1
Reputation: 10498
@Samuli Asmala's answer is correct. However, Step 8 will sometimes throw the following error:
ERROR: (gcloud.alpha.iap.oauth-brands.create) Error parsing [project].
The [name] resource is not properly specified.
Failed to find attribute [project]. The attribute can be set in the following ways:
- provide the argument `--project` on the command line
- set the property `core/project`"
So to fix this run the following command:
$ gcloud config set project <PROJECT-ID>
Upvotes: 0
Reputation: 1255
I recently had to complete the verification process and one of the requirements was that the developer privacy policy page or link contain the logo. My plan was to use the policy for all my apps if I could so I added a transparent png file the right size and removed the logo off my development web site and verification for branding passed fine. I did not know at the time that adding a simple logo triggered all these requirements; I just wanted oauth to work. For me the oauth screen did not even pop up until Google had verified my app. [just a spinning progress bar]
Upvotes: 0
Reputation: 451
I've tried the requests method and it didn't work, and it put my project in a locked state where I couldn't edit it anymore. If you're just starting with the Play Services and it isn't yet in production, the easiest is honestly to drop the project and create a new one.
Upvotes: 2
Reputation: 406
I had the same issue, uploaded a logo image by mistake, but I don't see a problem here. I just went ahead and submitted for verification and a few hours later I received this email:
Thanks for submitting a verification request.
If your app doesn't need to display an icon, you can skip the verification process and no action is required. If you do skip the verification process, the existing functions of your app won't change, as long as the scopes used by your project don’t change.
Otherwise, if you’d like to continue with the verification process:
Make sure you’ve completed all the required steps. Reply directly to this email to let us know. The review process can take up to 6 weeks. Thanks for your patience during this period.
So just don't respond and don't finish the required steps and the verification process will stop automatically without affecting your app.
Upvotes: 0
Reputation: 59
Convert the status of the app from "Published" to "Testing" in your "OAuth consent screen" and see if it works.
I was in a similar situation where I had uploaded a logo and was being asked to submit my app for verification. I did submit my app for verification but with incorrect data for website details etc. The Google reviewer for my project got back mentioning this seems to be a internal/personal use app and to convert my project status to testing instead of published. After doing this I think my logo got deleted automatically from my project. So the moment we upload the logo the project moves from testing to published status and since there is a logo uploaded it has to go through the verification process.
Here is the mail I received from Google with the info links intact.
Please Note: If you define your project as a testing project then you need to provide tester email ids for this project
Upvotes: 0
Reputation: 174
May 2021 - It is still possible to completely delete the consent screen! The following changes are needed compared to the original instructions:
https://clientauthconfig.clients6.google.com/v1/brands/{BRAND_ID}?key={KEY}
This will delete the entire consent screen (not just the icon), so that a new one can be created from scratch.
Upvotes: 1
Reputation: 4961
In order to delete the logo, follow these steps:
"iconUrl":"https://..."
."iconUrl":""
.Please keep in mind that this may require you to verify your app again.
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.
Upvotes: 64
Reputation: 2570
I have tried all the above solutions, and see that we no longer can send "DELETE" requests, as cURL sends 404
responses.
My solution is that I submitted my app for verification (you don't have to pay unless you request sensitive/restricted scopes, and even then, they will send you an email with a confirmation of pricing etc).
This allows you to use the consent screen as before, without the icon, but without verification. (When you're verified, they will let you use your icon).
Once a representative gets back, let them know you intend your app to be used internally, and you just want them to delete the image.
Upvotes: 2
Reputation: 21
The methods above did not work for me, I kept getting INVALID_ARGUMENT. This is because I had client credentials in the project. I had to delete the client credentials and the DELETE request method (without data-binary) worked for me.
Upvotes: 2
Reputation: 19
[UPDATE] - 2020
Is still possibile to delete your previously uploaded logo through an API call, although it requires a little modification of the answer Abhishek Srivastava suggested.
You need to:
--data-binary '{"brandId":"<your_brand_id>"}'
This will remove your consent screen entirely,
Upvotes: 1
Reputation: 178
For those who were unable to update it using the 'PUT' method (as answered by @Chris32 )and are ready to delete the consent screen and create a new one, can simply replace 'PUT' with 'DELETE' and remove --data-binary section (as delete doesn't take any payload) and can run it using a regular bash shell.
Upvotes: 4
Reputation: 3321
From my research so far, there is no way to remove the application logo from the consent screen.
You don't have to submit the account for verification unless you are asking for a permission mandating a verification.
Upvotes: 0