Skip to content

Commit 5772ccb

Browse files
committed
fix(oauth2 scheme): add missing user property to options
1 parent 695a143 commit 5772ccb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/schemes/oauth2.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { nanoid } from 'nanoid'
22
import requrl from 'requrl'
3-
import { encodeQuery, parseQuery, normalizePath, getResponseProp, urlJoin, removeTokenPrefix } from '../utils'
3+
import { encodeQuery, getResponseProp, normalizePath, parseQuery, removeTokenPrefix, urlJoin } from '../utils'
44
import RefreshController from '../inc/refresh-controller'
55
import RequestHandler from '../inc/request-handler'
66
import ExpiredAuthSessionError from '../inc/expired-auth-session-error'
@@ -42,6 +42,9 @@ const DEFAULTS = {
4242
prefix: '_refresh_token.',
4343
expirationPrefix: '_refresh_token_expiration.'
4444
},
45+
user: {
46+
property: false
47+
},
4548
responseType: 'token',
4649
codeChallengeMethod: 'implicit'
4750
}

0 commit comments

Comments
 (0)