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