Can't use self-hosted Hostinger URL for authorization Domain in Google API OAuth2

When I was tryin gto set up my Google Drive credentials, I had to of course enter the domain of my n8n instance as Authorization Domain in the Branding section in the Google Cloud Console. It is a subdomain provided by Hostinger.

I get this error message. (It says in German: Invalid domain: must be a private top-level domain)

Is there a way to stay on this domain and fix it?

Hi there, the error from google is correct, because what you’re putting there
n8n.srv820242.hstgr.cloud is not a top level domain, since it also includes the subdomains

the top level domain should be the last 2,which is
hstgr.cloud

please try that, and if it answer ur question, give it a like and mark it as the solution

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.