I want to add the appropriate google-site-verification TXT record, in order to do domain verification for an OAuth consent screen (e.g. here) that I want to set up for my Google Cloud service. Unfortunately, the documentation for doing that points me to (this) doc, which eventually leads me to a help doc like this. That help doc seems to assume that I am a GSuite admin. What if I'm not a GSuite admin and not even a GSuite user and want to set up domain verification for a host that I own? Where can I obtain the appropriate google-site-verification TXT record that I need for use with the Google Cloud Platform?

Thanks in advance.



Your domain needs to be an Authorized Domain to be able to use it with OAuth 2.0. To authorize it (and in turn get your google-site-verification TXT record), you can add the domain to Google Search Console.

  1. Go to https://search.google.com/search-console/welcome.
  2. Enter your domain name under the Domain option, and click on Continue.
  3. It will then check for verification of the domain (and when it fails), it will give you a 'google-site-verification' TXT record. Add this to your domain's DNS zone and then click on Verify.

Do note, that depending on DNS propagation, this can take minutes to days to complete. More often than not, it will have propagated within hours.

  • Thanks, Christopher, but my question is how do I authorize my domain without being a GSuite admin? Not every domain is used as a GSuite domain. – Mark Friedman Aug 10 '20 at 23:00
  • Christopher, I don't see how one creates a GSuite account and become a GSuite admin without actually buying a GSuite subscription. – Mark Friedman Aug 11 '20 at 21:10
  • I've amended my answer to use a different method. Let me know how that goes. – Christopher H Aug 11 '20 at 21:22
  • Chistopher, do you know if that method of authentication works for the OAuth domain verification? Do you have a reference indicating that it does? – Mark Friedman Aug 12 '20 at 18:16
  • I can’t guarantee that it does, as I’ve got a GSuite subscription and I follow guides as recommended by Google. You will need to try it, as Google wont have an article confirming the method I found will work. – Christopher H Aug 12 '20 at 19:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.