Skip to content

Commit

Permalink
feat(express): updated authenticate call
Browse files Browse the repository at this point in the history
to include the proper audience so on sign up the right JWT is generated
  • Loading branch information
foundrium committed Dec 3, 2021
1 parent 17dae8e commit 5d01d7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/haste-express/lib/hasteAuthRoutes.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ passport.use(HasteStrategy.initialize());
router.get(
'/login',
passport.authenticate('auth0', {
audience: 'https://haste.api',
connection: 'Haste-Authorization',
scope: 'openid email profile offline_access',
}),
Expand Down

0 comments on commit 5d01d7e

Please sign in to comment.