diff --git a/lib/core/src/lib/auth/services/jwt-helper.service.ts b/lib/core/src/lib/auth/services/jwt-helper.service.ts index bb4bf43f71..0dac1ca328 100644 --- a/lib/core/src/lib/auth/services/jwt-helper.service.ts +++ b/lib/core/src/lib/auth/services/jwt-helper.service.ts @@ -17,12 +17,8 @@ import { inject, Injectable, InjectionToken } from '@angular/core'; import { OAuthStorage } from 'angular-oauth2-oidc'; -import { StorageService } from '../../common/services/storage.service'; -export const JWT_STORAGE_SERVICE = new InjectionToken('JWT_STORAGE_SERVICE', { - providedIn: 'root', - factory: () => inject(StorageService) -}); +export const JWT_STORAGE_SERVICE = new InjectionToken('JWT_STORAGE_SERVICE'); @Injectable({ providedIn: 'root'