Securing JavaScript/Angular App: Wrong redirect_uri generated

Hi

(Note as a new user I can only post 2 URLs?? so ignore the extra dash in my H-TTP below)

I have set up a public client with the following URLs: (made up IP):
Root URL: "H-TTP://199.184.39.1/ui-dev/
Valid Redirect URIs: "H-TTP://199.184.39.1/ui-dev/*
Base URL: "H-TTP://199.184.39.1/ui-dev/
Web Origins: *

From our node app,
when we authenticate the redirect_uri is just H-TTP://199.184.39.1 not HTTP://199.184.39.1/ui-dev/

We are using these adapters
“keycloak-angular”: “^8.4.0”,
“keycloak-js”: “^14.0.0”,

How do I get my node app to send the correct redirect_uri?

H-TTP://199.184.39.1/ui-dev/

Thanks
Bowden