From 4814b8fbad5c07e91b626c5df7f1e0f68e6a70a2 Mon Sep 17 00:00:00 2001 From: Willem Dantuma Date: Thu, 13 Feb 2020 14:45:10 +0100 Subject: [PATCH] Change configuration for identityserver --- src/app/app.module.ts | 10 +++++----- src/configuration.json | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index b5fc7c0..0c85445 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -69,11 +69,11 @@ export function provideBootstrapEffects(effects: Type[]) { { provide:OAuthStorage, useClass:SecureOAuthStorage - } - // { - // provide:AuthConfigFactory, - // useClass:LocalAuthconfigFactory - // } + }, + { + provide:AuthConfigFactory, + useClass:Id4AuthconfigFactory + } ], bootstrap: [AppRootComponent] }) diff --git a/src/configuration.json b/src/configuration.json index 5af78f2..c42dc6b 100644 --- a/src/configuration.json +++ b/src/configuration.json @@ -1,9 +1,9 @@ { - "issuer": "https://accounts.awacc.nl", - "clientId": "farmmaps", + "issuer": "https://accounts.farmmaps.awacc.nl", + "clientId": "farmmapsdev", "audience": "https://farmmaps.awacc.nl/", "requireHttps": true, "apiEndPoint": "https://farmmaps.awacc.nl", - "grantType":"implicit" + "grantType":"code" } \ No newline at end of file