Skip to content

Commit c2cce4e

Browse files
author
Fabian Wiles
committed
fixup! feat: remove jsrsasign dependancy
1 parent 43ecad5 commit c2cce4e

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

projects/lib/src/token-validation/jwks-validation-handler.ts

-12
Original file line numberDiff line numberDiff line change
@@ -117,18 +117,6 @@ export class JwksValidationHandler extends AbstractValidationHandler {
117117
}else {
118118
return Promise.reject('Signature not valid');
119119
}
120-
121-
// const pem = jwkToPemAsAny(key);
122-
// try {
123-
// jwt.verify(
124-
// params.idToken,
125-
// pem,
126-
// {algorithms: this.allowedAlgorithms, clockTolerance: this.gracePeriodInSec}
127-
// );
128-
// } catch (err) {
129-
// return Promise.reject('Signature not valid');
130-
// }
131-
// return Promise.resolve();
132120
}
133121

134122
private alg2kty(alg: string) {

0 commit comments

Comments
 (0)