URL Domain

I'm trying to create an app and in the OAuth permissions I can't pass the Authorized Domain localhost:8080. I'm receiving "invalid domain. can't specificate http or https"

But I've already created others apps with the same domain. What changed? How can I create now?

0 1 491
1 REPLY 1

Hi @Iratã,

Welcome to the Google Cloud Community!

As per this Stack Overflow thread[1]:

The Authorized domain field does not accept the localhost addresses.

If you are trying to configure the OAuth2 for your test application you do not need to specify this domain detail for the OAuth consent screen, just skip this field.

Upon saving details for the authentication screen you will need to specify the Authorized redirect URIs in the Credentials menu - put your domain address there along with the appropriate endpoint and you will be good to go. 

 I hope this helps. Thank you. 😃

[1]. https://stackoverflow.com/questions/76350539/google-oauth-consent-screen-scheme-error-invalid-domain...