diff --git a/core/src/lib/strategies/auth-flow.strategy.ts b/core/src/lib/strategies/auth-flow.strategy.ts index b7aa5601e..6b8fe9125 100644 --- a/core/src/lib/strategies/auth-flow.strategy.ts +++ b/core/src/lib/strategies/auth-flow.strategy.ts @@ -25,7 +25,7 @@ export abstract class AuthFlowStrategy { constructor(protected injector: Injector) { this.oAuthService = injector.get(OAuthService); - this.oAuthConfig = injector.get(CORE_OPTIONS).environment.oAuthConfig; + this.oAuthConfig = injector.get(Store).selectSnapshot(ConfigState.getDeep('environment.oAuthConfig')); } async init(): Promise {