Skip to content

Commit 817ac33

Browse files
committed
Updating the changelog
1 parent 815e59e commit 817ac33

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
- Support Custom Params for EndSession and RefreshTokens Renew
66
- [PR](https://github.com/damienbod/angular-auth-oidc-client/pull/1093)
77
- Added Auth0 example
8+
- Bugfix: the "use" attr on the jwks key is optional if only one key is present
9+
- [PR](https://github.com/damienbod/angular-auth-oidc-client/pull/1089)
810

911
### 2021-05-04 Version 11.6.8
1012

projects/angular-auth-oidc-client/src/lib/validation/token-validation.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ export class TokenValidationService {
312312
let keyToValidate;
313313

314314
// If only one key, use it
315-
if (jwtkeys.keys.length === 1 && ((jwtkeys.keys[0].kty as string) === jwtKtyToUse)) {
315+
if (jwtkeys.keys.length === 1 && (jwtkeys.keys[0].kty as string) === jwtKtyToUse) {
316316
keyToValidate = jwtkeys.keys[0];
317317
} else {
318318
// More than one key

0 commit comments

Comments
 (0)