Trouble Syncing Google with Nextcloud

I have installed the Nextcloud App and I’m trying to sync it to my google account to transfer files over.

I’ve created the OAuth client ID but I’m stuck on the “Authorised URL redirect” section.
I get the following error when pasting in the suggested URL on my Nextcloud account

Invalid redirect: Must end with a public top-level domain (such as .com or .org).