Browse Source

Merge pull request #5058 from olicooper/patch-2

Fixed OAuth configuration bug when using remoteEnv
pull/5086/head
Mehmet Erim 6 years ago
committed by GitHub
parent
commit
5496f112aa
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      npm/ng-packs/packages/core/src/lib/strategies/auth-flow.strategy.ts

2
npm/ng-packs/packages/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<any> {

Loading…
Cancel
Save