Skip to content

Is there a way to maintain query params from the initial request? #96

@christopher-francisco

Description

@christopher-francisco

I have this route:

router.get('/auth', passport.authenticate('oauth2'));

When I visit /auth?redirect_to=myInitialEncodedURL, I get redirected to the oauth endpoint, without the redirect_to parameter:

/oauth/auth?response_type=code&redirect_uri=encodedURLFor`auth/callback`&client_id=my-clientId

But there's no redirect_to parameter. Is there any way this can be done?

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