File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
projects/angular-auth-oidc-client/src/lib/validation Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments