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

return_url does not support req.baseUrl #47

Open
akaNightmare opened this issue Jul 5, 2016 · 1 comment
Open

return_url does not support req.baseUrl #47

akaNightmare opened this issue Jul 5, 2016 · 1 comment

Comments

@akaNightmare
Copy link

Hi, I've a problem, when config is:

{
    login_url: '/test/sso/login',
    consent_url: '/test/sso/consent',
}

and OpenIDConnect generate url /login
I found the solution:
in line
var q = req.parsedParams?req.path+'?'+querystring.stringify(req.parsedParams):req.originalUrl;
should add req.baseUrl + req.path

@lionello
Copy link

lionello commented Feb 9, 2017

Fixed by #50

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

2 participants