Skip to content

Commit 3eedd67

Browse files
Remove unneeded options obj (oidc.js)
1 parent 7850047 commit 3eedd67

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

lib/handlers/oidc.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -183,13 +183,9 @@ function authCallback (oidcRpClient) {
183183
debug.oidc('code: ' + req.query.code)
184184
oidcRpClient.trustedClient.client.token(tokenOptions)
185185
.then((tokenResult) => {
186-
const verifyOptions = {
187-
allowNoToken: true,
188-
loadUserInfo: true
189-
}
190186
accessToken = tokenResult.access_token
191187
debug.oidc('Verifying token')
192-
return oidcRpClient.trustedClient.verifyToken(req, accessToken, verifyOptions)
188+
return oidcRpClient.trustedClient.verifyToken(req, accessToken)
193189
})
194190
.then(() => {
195191
return oidcRpClient.trustedClient.client.userInfo({ token: accessToken })

0 commit comments

Comments
 (0)