Add project files.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"IdentityData": {
|
||||
"Roles": [
|
||||
{
|
||||
"Name": "Admin"
|
||||
}
|
||||
],
|
||||
"Users": [
|
||||
{
|
||||
"Username": "admin",
|
||||
"Password": "4w%HPXmwhHjq5A",
|
||||
"Email": "khwezi@litecharms.co.za",
|
||||
"Roles": [
|
||||
"Admin"
|
||||
],
|
||||
"Claims": [
|
||||
{
|
||||
"Type": "name",
|
||||
"Value": "admin"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"IdentityServerData": {
|
||||
"IdentityResources": [
|
||||
{
|
||||
"Name": "roles",
|
||||
"Enabled": true,
|
||||
"DisplayName": "Roles",
|
||||
"UserClaims": ["role"]
|
||||
},
|
||||
{
|
||||
"Name": "openid",
|
||||
"Enabled": true,
|
||||
"Required": true,
|
||||
"DisplayName": "Your user identifier",
|
||||
"UserClaims": ["sub"]
|
||||
},
|
||||
{
|
||||
"Name": "profile",
|
||||
"Enabled": true,
|
||||
"DisplayName": "User profile",
|
||||
"Description": "Your user profile information (first name, last name, etc.)",
|
||||
"Emphasize": true,
|
||||
"UserClaims": [
|
||||
"name",
|
||||
"family_name",
|
||||
"given_name",
|
||||
"middle_name",
|
||||
"nickname",
|
||||
"preferred_username",
|
||||
"profile",
|
||||
"picture",
|
||||
"website",
|
||||
"gender",
|
||||
"birthdate",
|
||||
"zoneinfo",
|
||||
"locale",
|
||||
"updated_at"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "email",
|
||||
"Enabled": true,
|
||||
"DisplayName": "Your email address",
|
||||
"Emphasize": true,
|
||||
"UserClaims": ["email", "email_verified"]
|
||||
},
|
||||
{
|
||||
"Name": "address",
|
||||
"Enabled": true,
|
||||
"DisplayName": "Your address",
|
||||
"Emphasize": true,
|
||||
"UserClaims": ["address"]
|
||||
}
|
||||
],
|
||||
"ApiScopes": [
|
||||
{
|
||||
"Name": "skoruba_identity_admin_api",
|
||||
"DisplayName": "skoruba_identity_admin_api",
|
||||
"Required": true,
|
||||
"UserClaims": ["role", "name"]
|
||||
}
|
||||
],
|
||||
"ApiResources": [
|
||||
{
|
||||
"Name": "skoruba_identity_admin_api",
|
||||
"Scopes": ["skoruba_identity_admin_api"]
|
||||
}
|
||||
],
|
||||
"Clients": [
|
||||
{
|
||||
"ClientId": "litecharms-admin-client",
|
||||
"ClientName": "litecharms-admin-client",
|
||||
"ClientUri": "https://admin.skoruba.local",
|
||||
"AllowedGrantTypes": ["authorization_code"],
|
||||
"RequireConsent": false,
|
||||
"RequirePkce": true,
|
||||
"ClientSecrets": [
|
||||
{
|
||||
"Value": "13c0e7ada2a123cfe31e99e5c63e252c"
|
||||
}
|
||||
],
|
||||
"RedirectUris": ["https://admin.skoruba.local/signin-oidc"],
|
||||
"FrontChannelLogoutUri": "https://admin.skoruba.local/signout-oidc",
|
||||
"PostLogoutRedirectUris": [
|
||||
"https://admin.skoruba.local/signout-callback-oidc"
|
||||
],
|
||||
"AllowedCorsOrigins": ["https://admin.skoruba.local"],
|
||||
"AllowOfflineAccess": true,
|
||||
"AllowedScopes": [
|
||||
"openid",
|
||||
"email",
|
||||
"profile",
|
||||
"roles",
|
||||
"skoruba_identity_admin_api"
|
||||
],
|
||||
"RequirePushedAuthorization": true
|
||||
},
|
||||
{
|
||||
"ClientId": "skoruba_identity_admin_api_swaggerui",
|
||||
"ClientName": "skoruba_identity_admin_api_swaggerui",
|
||||
"AllowedGrantTypes": ["authorization_code"],
|
||||
"RequireClientSecret": false,
|
||||
"RequirePkce": true,
|
||||
"RedirectUris": [
|
||||
"https://admin-api.skoruba.local/swagger/oauth2-redirect.html"
|
||||
],
|
||||
"AllowedScopes": ["skoruba_identity_admin_api"],
|
||||
"AllowedCorsOrigins": ["https://admin-api.skoruba.local"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
proxy_buffer_size 128k;
|
||||
proxy_buffers 4 256k;
|
||||
proxy_busy_buffers_size 256k;
|
||||
@@ -0,0 +1,3 @@
|
||||
proxy_buffer_size 128k;
|
||||
proxy_buffers 4 256k;
|
||||
proxy_busy_buffers_size 256k;
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"Serilog": {
|
||||
"Using": [ "Serilog.Sinks.Console" ],
|
||||
"MinimumLevel": {
|
||||
"Default": "Debug",
|
||||
"Override": {
|
||||
"Microsoft": "Information",
|
||||
"System": "Error"
|
||||
}
|
||||
},
|
||||
"WriteTo": [
|
||||
{
|
||||
"Args": {
|
||||
"outputTemplate": "[{Timestamp:o}][{Level:u4}][{ThreadId}][{SourceContext}] {Message}{NewLine}{Exception}"
|
||||
},
|
||||
"Name": "Console"
|
||||
},
|
||||
{
|
||||
"Args": {
|
||||
"buffered": true,
|
||||
"flushToDiskInterval": 15,
|
||||
"outputTemplate": "[{Timestamp:o}][{Level:u4}][{ThreadId}][{SourceContext}] {Message}{NewLine}{Exception}",
|
||||
"pathFormat": "Logs//log-{Date}.txt",
|
||||
"retainedFileCountLimit": 3,
|
||||
"textFormatter": "Serilog.Formatting.Json.JsonFormatter, Serilog"
|
||||
},
|
||||
"Name": "RollingFile"
|
||||
}
|
||||
],
|
||||
"Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId" ],
|
||||
"Properties": {
|
||||
"Product": "Admin",
|
||||
"Env": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user