ShinyProxy & Auth0 Callback URL

I have just setup the Auth0 and ShinyProxy together however when a user logs in they are redirected to the localhost rather than the web address that is set. Is this issue a result of Nginx? Or something else?