Skip to content

Commit

Permalink
fix(oauth2 scheme): set token.global to true
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoPedroAS51 authored and pi0 committed Mar 15, 2020
1 parent bc6d2ce commit 6f7d88d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/schemes/oauth2.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ const DEFAULTS = {
property: 'access_token',
type: 'Bearer',
name: 'Authorization',
maxAge: 1800
maxAge: 1800,
global: true
},
refreshToken: {
property: 'refresh_token',
Expand Down

0 comments on commit 6f7d88d

Please sign in to comment.