fix: add UseAspNetCore() to OpenIddict validation
- Add .UseAspNetCore() to validation configuration - This enables OpenIddict Server to properly process OAuth2 requests - Fix for 'The OpenID Connect request cannot be retrieved' error
This commit is contained in:
parent
7c92208c40
commit
875ba7bc61
@ -47,6 +47,7 @@ public static class OpenIddictSetup
|
||||
builder.AddValidation(options =>
|
||||
{
|
||||
options.UseLocalServer();
|
||||
options.UseAspNetCore();
|
||||
});
|
||||
|
||||
services.AddAuthentication(options =>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user