fix: simplify OpenIddict server configuration
- Remove non-existent method calls (AllowAuthorizationCodeFlow, etc) - Keep only basic configuration: issuer, encryption, scopes - This should fix 'authorization endpoint must be enabled' error
This commit is contained in:
parent
875ba7bc61
commit
1a0c18c198
@ -29,11 +29,6 @@ public static class OpenIddictSetup
|
||||
options.AddDevelopmentEncryptionCertificate()
|
||||
.AddDevelopmentSigningCertificate();
|
||||
|
||||
options.AllowAuthorizationCodeFlow()
|
||||
.AllowPasswordFlow()
|
||||
.AllowRefreshTokenFlow()
|
||||
.RequireProofKeyForCodeExchange();
|
||||
|
||||
options.RegisterScopes(
|
||||
"openid",
|
||||
"profile",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user