updated Microser (gateway)

This commit is contained in:
M. Akif Tokatlioglu
2024-03-31 10:10:36 +03:00
parent 7c19b96d81
commit 2f2a39584d
22 changed files with 267 additions and 24 deletions

View File

@@ -56,6 +56,30 @@ namespace Microser.IdS
Enabled = true
},
new Client
{
ClientId = "dotnet_api_swagger",
ClientName = "Dotnet Swagger UI Auth",
ClientSecrets = {
new Secret("76CD4B0FC93846F08395BF8994B86BC6".Sha256())
},
AllowedGrantTypes = GrantTypes.Code,
RequirePkce = true,
RequireClientSecret = true,
AllowedCorsOrigins = { "https://localhost:6001" },
AllowedScopes = {
IdentityServerConstants.StandardScopes.OpenId,
IdentityServerConstants.StandardScopes.Profile,
IdentityServerConstants.StandardScopes.Address,
IdentityServerConstants.StandardScopes.Email,
"roles",
"scope1",
"microser_api_weather"
},
RedirectUris = { "https://localhost:6001/swagger/oauth2-redirect.html" },
Enabled = true
},
// m2m client credentials flow client
new Client
{