Torma Kristóf
beab15a7ef
All checks were successful
continuous-integration/drone/push Build is passing
105 lines
2.8 KiB
JSON
105 lines
2.8 KiB
JSON
{
|
|
"AllowedHosts": "*",
|
|
"ConnectionStrings": {
|
|
"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=aspnet-HanyadikHetVan-53bc9b9d-9d6a-45d4-8429-2a2761773502;Trusted_Connection=True;MultipleActiveResultSets=true"
|
|
},
|
|
"DefaultAdministrator": {
|
|
"UserName": "testuser",
|
|
"Email": "admin@teszt.hu",
|
|
"Password": "Alma123."
|
|
},
|
|
"EmailSender": {
|
|
"Host": "192.168.42.7",
|
|
"Port": 25,
|
|
"UserName": "hanyadikhetvan@kmlabz.com"
|
|
},
|
|
"HanyadikHetVan": {
|
|
"StartDate": "2021-02-01"
|
|
},
|
|
"IdentityServer": {
|
|
"IdentityResources": [
|
|
{
|
|
"Name": "openid",
|
|
"DisplayName": "Your user identifier",
|
|
"Required": true,
|
|
"UserClaims": [ "sub" ]
|
|
},
|
|
{
|
|
"Name": "profile",
|
|
"DisplayName": "Your profile in the system"
|
|
},
|
|
{
|
|
"Name": "user_role",
|
|
"DisplayName": "Your user role",
|
|
"UserClaims": [ "user_role" ]
|
|
}
|
|
],
|
|
"ApiResources": [
|
|
{
|
|
"Name": "api",
|
|
"DisplayName": "The web api",
|
|
"Scopes": [
|
|
"api.readwrite"
|
|
],
|
|
"UserClaims": [ "user_role" ]
|
|
}
|
|
],
|
|
"ApiScopes": [
|
|
{
|
|
"Name": "api.readwrite",
|
|
"DisplayName": "Read and write data of the api"
|
|
}
|
|
],
|
|
"Clients": [
|
|
{
|
|
"ClientId": "postman",
|
|
"ClientName": "The PostMan Client",
|
|
"ClientSecrets": [ { "value": "xmYYS/lSPIz5IdbgUXNbp66JYSejHbw7/oFXy7CLk8s=" } ],
|
|
"AllowedGrantTypes": [ "password" ],
|
|
"RequireConsent": false,
|
|
"AllowedScopes": [
|
|
"openid",
|
|
"profile",
|
|
"user_role",
|
|
"api.readwrite"
|
|
],
|
|
"AlwaysIncludeUserClaimsInIdToken": true
|
|
},
|
|
{
|
|
"ClientId": "swagger",
|
|
"ClientName": "Swagger client",
|
|
"AllowedGrantTypes": [ "authorization_code" ],
|
|
"AllowAccessTokensViaBrowser": true,
|
|
"ClientClaimsPrefix": "",
|
|
"RequireConsent": false,
|
|
"AllowedScopes": [
|
|
"openid",
|
|
"profile",
|
|
"user_role",
|
|
"api.readwrite"
|
|
],
|
|
"RedirectUris": [
|
|
"http://localhost:5000/swagger/oauth2-redirect.html",
|
|
"https://localhost:5001/swagger/oauth2-redirect.html"
|
|
],
|
|
"PostLogoutRedirectUris": [ "https://localhost:5001/swagger" ],
|
|
"AllowedCorsOrigins": [ "https://localhost:5001" ],
|
|
"AlwaysIncludeUserClaimsInIdToken": true,
|
|
"AllowOfflineAccess": true,
|
|
"EnableLocalLogin": true,
|
|
"IdentityTokenLifetime": 1800,
|
|
"AccessTokenLifetime": 1800,
|
|
"RequireClientSecret": false,
|
|
"RequirePkce": false
|
|
}
|
|
]
|
|
},
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft": "Warning",
|
|
"Microsoft.Hosting.Lifetime": "Information"
|
|
}
|
|
}
|
|
}
|