Node-red-contrib-spotify auth problem

hi,
I am running Node Red on Home Assistant running on a RPi3B through a docker.
When I try to authenticate the keys using node red i am getting an error that page is not reachable.

when using the config directly on home assistant it works fine.
can someone guide me please?