diff --git a/npm/ng-packs/packages/oauth/src/lib/utils/auth-utils.ts b/npm/ng-packs/packages/oauth/src/lib/utils/auth-utils.ts index 8742136b1f..bc76609f5a 100644 --- a/npm/ng-packs/packages/oauth/src/lib/utils/auth-utils.ts +++ b/npm/ng-packs/packages/oauth/src/lib/utils/auth-utils.ts @@ -25,6 +25,7 @@ export const pipeToLogin: PipeToLoginFn = function ( ); }; +//Ref: https://github.com/manfredsteyer/angular-oauth2-oidc/issues/1214 export function isTokenExpired(expireDate: number): boolean { const currentDate = new Date().getTime(); return expireDate < currentDate;