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 = ?', [