fix: remove invalid app.UseOpenIddictServer() call
- Remove non-existent middleware call - OpenIddict server is automatically configured via AddOpenIddictConfiguration - Keep correct middleware order: StaticFiles -> Routing -> Authentication -> Authorization
This commit is contained in:
parent
5a7ebaf20d
commit
7c92208c40
@ -136,7 +136,7 @@ public static class SeedData
|
|||||||
"http://localhost:5777/",
|
"http://localhost:5777/",
|
||||||
"https://console.fengling.local/"
|
"https://console.fengling.local/"
|
||||||
},
|
},
|
||||||
Scopes = new[] { "api", "offline_access", "openid", "profile", "email", "roles" },
|
Scopes = new[] { "api", "offline_access", "openid", "profile", "email" },
|
||||||
GrantTypes = new[] { "authorization_code", "refresh_token" },
|
GrantTypes = new[] { "authorization_code", "refresh_token" },
|
||||||
ClientType = "public",
|
ClientType = "public",
|
||||||
ConsentType = "implicit",
|
ConsentType = "implicit",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"ConnectionStrings": {
|
"ConnectionStrings": {
|
||||||
"DefaultConnection": "DataSource=Fengling.Auth.Development"
|
"DefaultConnection": "DataSource=:memory:"
|
||||||
},
|
},
|
||||||
"Logging": {
|
"Logging": {
|
||||||
"LogLevel": {
|
"LogLevel": {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user