Skip to content

Passport Strategy: Additional parameters for the authorization request #735

Closed Answered by panva
warrenwingaru asked this question in Q&A
Discussion options

You must be logged in to vote

It was not currently worked on, no, but I missed that @types/passport and apparently even the passport docs mention scope and prompt which is what lead you to believe it would be handled out of the box, despite that not being the case in e.g. https://github.com/jaredhanson/passport-oauth2

Nevertheless, I've updated the strategy in https://github.com/panva/openid-client/releases/tag/v6.1.6 to use the options (scope, prompt, and passReqToCallback). But the intention remains that for anything non-passport you need to overload this method to take effect.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@warrenwingaru
Comment options

@panva
Comment options

@warrenwingaru
Comment options

@warrenwingaru
Comment options

Answer selected by warrenwingaru
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants