I am using angular-oauth2-oidc
library to connect to ADFS but I get the following error:
I am using the following code:
app.component.ts:
config.issuer = 'https://myserver/adfs';
config.clientId = 'https://myapp/';
config.redirectUri = window.location.origin;
config.scope = 'openid profile';
this.oauthService.configure(config);
this.oauthService.loadDiscoveryDocument();