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/",
|
||||
"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" },
|
||||
ClientType = "public",
|
||||
ConsentType = "implicit",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"ConnectionStrings": {
|
||||
"DefaultConnection": "DataSource=Fengling.Auth.Development"
|
||||
"DefaultConnection": "DataSource=:memory:"
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user