I guess the strictDiscoveryDocumentValidation is not working as expected.
You can debug the js code on Chrome to check the strictDiscoveryDocumentValidation.
https://github.com/manfredsteyer/angular-oauth2-oidc/blob/3ba7303b5a6fdbae5ca214764c9191637cd00126/projects/lib/src/oauth-service.ts#L386 https://github.com/manfredsteyer/angular-oauth2-oidc/blob/3ba7303b5a6fdbae5ca214764c9191637cd00126/projects/lib/src/oauth-service.ts#L340
hi
Can you share an online url? include the username and password Thanks
liming.ma@volosoft.com
hi
I try set strictDiscoveryDocumentValidation = false but it not working
Please share your authConfig
hi
public override void PreConfigureServices(ServiceConfigurationContext context)
{
PreConfigure<OpenIddictServerBuilder>(builder =>
{
builder.SetIssuer(new Uri("https://abc.domain.com/svc"));
});
}
hi
Can you try to delete this cookie?
The app will set the cookie again.
hi
https for all urls required. Also for urls received by discovery
Please share the logs of authserver.
hi
You can add a middleware after the authentication.
app.Use(async (context, next) =>
{
// Do work that can write to the Response.
await next.Invoke();
// Do logging or other work that doesn't write to the Response.
});
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/middleware/?view=aspnetcore-7.0