Struggling with Google Calendar on 2nd NR instance

I have the Google Calendar node configured in the Node Red add-on to hass.io. I did this ages ago, so I'm not sure if I had much trouble.

Now I want to use the same node in another Node Red Docker install on another machine. I've create a new client & secret, and updated my laptop's hosts file to redirect http://node-red.example.com to 192.168.0.18 but when I click on "Authenticate with Google" I'm getting "redirect_uri_mismatch". If I browse to http://node-red.example.com:1888 it opens Node Red, so the hosts file update looks correct (that container maps 1888 to 1880).

Any ideas on what I'm doing wrong?

I worked it out. When I was entering the authorized redirect URI, I was pasting it and clicking Save. I didn't realise it wasn't actually saving what was pasted - you need to paste, press Enter, and then Save.