From d44ded3f70d74e2be34ba28cb14e4c925605b2eb Mon Sep 17 00:00:00 2001 From: Tyler Bowers Date: Sat, 24 Jun 2023 13:15:24 -0500 Subject: [PATCH] Added specifying scope in README example --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 47d9be4..075f55c 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,8 @@ passport.use(new OpenIDConnectStrategy({ userInfoURL: 'https://server.example.com/userinfo', clientID: process.env['CLIENT_ID'], clientSecret: process.env['CLIENT_SECRET'], - callbackURL: 'https://client.example.org/cb' + callbackURL: 'https://client.example.org/cb', + scope: [ 'profile' ] }, function verify(issuer, profile, cb) { db.get('SELECT * FROM federated_credentials WHERE provider = ? AND subject = ?', [