I had this error when I was trying to test google drive:
So I added the domain to google console, something like this (and it works):
But as you can see there are some differents subdomains to the same domain, is there a way to put just the domain and that takes all subdomains refers to the same domain, like a wildcard somithing like *.domain.com? I think that I must use something else