From 0b63b88b8a7fb6dabea68f4f996823f49ed59299 Mon Sep 17 00:00:00 2001 From: Masum ULU <49063256+masumulu28@users.noreply.github.com> Date: Wed, 24 Jan 2024 11:20:19 +0300 Subject: [PATCH] Add issue ref to auth-utils --- npm/ng-packs/packages/oauth/src/lib/utils/auth-utils.ts | 1 + 1 file changed, 1 insertion(+) 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;