Skip to content

Commit a3cc180

Browse files
committed
formatting
1 parent c3f528f commit a3cc180

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ResponseValidator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,12 +258,12 @@ export default class ResponseValidator {
258258
if (keys.length > 1) {
259259
Log.error("No kid found in id_token");
260260
return Promise.reject(new Error("No kid found in id_token"));
261-
} else {
261+
}
262+
else {
262263
// kid is mandatory only when there are multiple keys in the referenced JWK Set document
263264
// see http://openid.net/specs/openid-connect-core-1_0.html#Signing
264265
kid = keys[0].kid;
265266
}
266-
267267
}
268268

269269
let key = keys.filter(key => {

0 commit comments

Comments
 (0)