update 0.0.14

This commit is contained in:
igeekfan
2023-07-20 01:15:12 +08:00
parent 76b34bc154
commit fb383e2c3c
10 changed files with 105 additions and 30 deletions

View File

@ -16,14 +16,16 @@ namespace OAuth2Integration.AuthServer
RedirectUris = new[] {
"http://localhost:55202/resource-server/swagger/oauth2-redirect.html", // IIS Express
"http://localhost:5000/resource-server/swagger/oauth2-redirect.html", // Kestrel
"http://localhost:5000/oauth/oauth2.html", // Kestrel
"http://localhost:8080/oauth/oauth2.html", // Kestrel
},
ClientSecrets = { new Secret("test-secret".Sha256()) },
RequireConsent = true,
AllowedGrantTypes = GrantTypes.Code,
RequirePkce = true,
AllowedScopes = new[] { "readAccess", "writeAccess" },
RequirePkce = false,
//AllowedScopes = new[] { "readAccess", "writeAccess" },
};
}