Google Integration locally hosted NextCloud

Nextcloud version (eg, 20.0.5): 21 Snap
Operating system and version (eg, Ubuntu 20.04): Ubuntu Server 21.04

The issue you are facing:

I have a local instance of NextCloud and want to use Google Integration. But can’t coz Google won’t accept IPs it want top level domains. How can I do that ?

I am new to all this.

Is this the first time you’ve seen this error? (Y/N): Y