Cannot setup Google Drive on NextCloud

I am following the instructions here:

https://docs.nextcloud.com/server/9/admin_manual/configuration_files/external_storage/google.html

I have created oAuth 2.0 Credentials in the developer console many times and this seems pretty standard. I am following the instructions and setup my redirect URIs just like the NextCloud guide.

When trying to connect I am getting:

https://i.imgsafe.org/87da9c7173.png

Here is my configuration:

https://i.imgsafe.org/87cfc23645.png

I was getting this same error until I added a Privacy policy URL in the OAuth consent screen. I believe this was optional at one time. I simply made a quick page, https://mydomain/privacy.html, with a comment about privacy.

Another issue that got me was the leading and trailing white space on the credentials when I copied it.