Skip to content

return_url does not support req.baseUrl #47

@akaNightmare

Description

@akaNightmare

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions