diff --git a/src/app/modules/auth/default-auth.service.ts b/src/app/modules/auth/default-auth.service.ts index cff00d81..7dafaabb 100644 --- a/src/app/modules/auth/default-auth.service.ts +++ b/src/app/modules/auth/default-auth.service.ts @@ -52,6 +52,12 @@ export class DefaultAuthService extends AuthService { return Promise.resolve(this.localConfiguration); } + public async init() { + this.setupConfiguration(); + this.setupAuthorizationNotifier(); + await this.loadTokenFromStorage(); + } + setupConfiguration() { const authConfig = this.configProvider.getAnyValue('auth') as { default: SCAuthorizationProvider;