We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43ecad5 commit c2cce4eCopy full SHA for c2cce4e
projects/lib/src/token-validation/jwks-validation-handler.ts
@@ -117,18 +117,6 @@ export class JwksValidationHandler extends AbstractValidationHandler {
117
}else {
118
return Promise.reject('Signature not valid');
119
}
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();
132
133
134
private alg2kty(alg: string) {
0 commit comments