Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect with httpRoot configuration setting #2

Open
madmax76 opened this issue Feb 22, 2018 · 0 comments
Open

Redirect with httpRoot configuration setting #2

madmax76 opened this issue Feb 22, 2018 · 0 comments

Comments

@madmax76
Copy link

When the httpRoot parameter in settings.js is set:
httpRoot: '/nodered',
GitHUB will redirect to the URL without in this case '/nodered'

When leaving the httpRoot setting default, it works fine.

I have been looking as a non programmer to this code:

    var callbackURL = opts.baseURL+
        ((opts.baseURL[opts.baseURL.length-1] === "/")?"":"/")+
"auth/strategy/callback";

Could anything be wrong there?
After clicking the github button I am redirected to:
http://localhost/auth/strategy

baseURL: "http://localhost/nodered/",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant