Skip to content

How to set nonce in combination with response_type=code #387

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

You must be logged in to vote

You can pass any parametere you like to the passport.authenticate() call. e.g.

passport.authenticate('oidc', { nonce: generators.nonce() })(req, res, next);

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@androa
Comment options

Answer selected by panva
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