Skip to content

Commit

Permalink
Remove audience parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto Perdomo committed Jul 23, 2018
1 parent 737eaab commit 69e2be8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions 01-Login/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ router.get('/login', passport.authenticate('auth0', {
domain: env.AUTH0_DOMAIN,
redirectUri: env.AUTH0_CALLBACK_URL,
responseType: 'code',
audience: 'https://' + env.AUTH0_DOMAIN + '/userinfo',
scope: 'openid profile'}),
scope: 'openid email profile'}),
function(req, res) {
res.redirect("/");
});
Expand Down

0 comments on commit 69e2be8

Please sign in to comment.