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()
|
options.AddDevelopmentEncryptionCertificate()
|
||||||
.AddDevelopmentSigningCertificate();
|
.AddDevelopmentSigningCertificate();
|
||||||
|
|
||||||
options.AllowAuthorizationCodeFlow()
|
|
||||||
.AllowPasswordFlow()
|
|
||||||
.AllowRefreshTokenFlow()
|
|
||||||
.RequireProofKeyForCodeExchange();
|
|
||||||
|
|
||||||
options.RegisterScopes(
|
options.RegisterScopes(
|
||||||
"openid",
|
"openid",
|
||||||
"profile",
|
"profile",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user