We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7850047 commit 3eedd67Copy full SHA for 3eedd67
1 file changed
lib/handlers/oidc.js
@@ -183,13 +183,9 @@ function authCallback (oidcRpClient) {
183
debug.oidc('code: ' + req.query.code)
184
oidcRpClient.trustedClient.client.token(tokenOptions)
185
.then((tokenResult) => {
186
- const verifyOptions = {
187
- allowNoToken: true,
188
- loadUserInfo: true
189
- }
190
accessToken = tokenResult.access_token
191
debug.oidc('Verifying token')
192
- return oidcRpClient.trustedClient.verifyToken(req, accessToken, verifyOptions)
+ return oidcRpClient.trustedClient.verifyToken(req, accessToken)
193
})
194
.then(() => {
195
return oidcRpClient.trustedClient.client.userInfo({ token: accessToken })
0 commit comments