Skip to content

Commit

Permalink
fix(oauth2 scheme): add missing user property to options
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoPedroAS51 committed Oct 17, 2020
1 parent 695a143 commit 5772ccb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/schemes/oauth2.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { nanoid } from 'nanoid'
import requrl from 'requrl'
import { encodeQuery, parseQuery, normalizePath, getResponseProp, urlJoin, removeTokenPrefix } from '../utils'
import { encodeQuery, getResponseProp, normalizePath, parseQuery, removeTokenPrefix, urlJoin } from '../utils'
import RefreshController from '../inc/refresh-controller'
import RequestHandler from '../inc/request-handler'
import ExpiredAuthSessionError from '../inc/expired-auth-session-error'
Expand Down Expand Up @@ -42,6 +42,9 @@ const DEFAULTS = {
prefix: '_refresh_token.',
expirationPrefix: '_refresh_token_expiration.'
},
user: {
property: false
},
responseType: 'token',
codeChallengeMethod: 'implicit'
}
Expand Down

0 comments on commit 5772ccb

Please sign in to comment.