first commit
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"ConnectionStrings": {
|
||||
"DefaultConnection": "server=<db-host>;port=3306;database=vijaya_auth;user=<db-user>;password=<db-password>"
|
||||
},
|
||||
"AllowedHosts": "*",
|
||||
"AppSettings": {
|
||||
"FrontendUrl": "<frontend-url>"
|
||||
},
|
||||
"Kestrel": {
|
||||
"Endpoints": {
|
||||
"Http": {
|
||||
"Url": "http://0.0.0.0:5602"
|
||||
}
|
||||
},
|
||||
"AllowedOrigins": [ "*" ]
|
||||
},
|
||||
"Cors": {
|
||||
"AllowedOrigins": [ "*" ],
|
||||
"AllowedMethods": [ "GET", "POST", "PUT", "DELETE" ],
|
||||
"AllowedHeaders": [ "*" ]
|
||||
},
|
||||
"Jwt": {
|
||||
"Issuer": "VijayaAuth",
|
||||
"Audience": "VijayaClient",
|
||||
"ExpiresInMinutes": "1000",
|
||||
"RsaPrivateKey": "<generate-fresh-with-GenerateRsaKeys.cs-store-in-appsettings.Development.json-or-env-vars>",
|
||||
"RsaPublicKey": "<generate-fresh-with-GenerateRsaKeys.cs-store-in-appsettings.Development.json-or-env-vars>"
|
||||
},
|
||||
"EmailSettings": {
|
||||
"SmtpServer": "<smtp-host>",
|
||||
"SmtpPort": 587,
|
||||
"SmtpUsername": "<smtp-username>",
|
||||
"SenderEmail": "<sender-email>",
|
||||
"SenderPassword": "<smtp-password>",
|
||||
"SenderName": "Vijaya Sport Club"
|
||||
},
|
||||
"Sms": {
|
||||
"ApiUrl": "<sms-service-url>",
|
||||
"ApiKey": "<sms-api-key>"
|
||||
},
|
||||
"SmtpSettings": {
|
||||
"SmtpServer": "<smtp-host>",
|
||||
"SmtpPort": 587,
|
||||
"SmtpUsername": "<smtp-username>",
|
||||
"SmtpPassword": "<smtp-password>",
|
||||
"SenderEmail": "<sender-email>",
|
||||
"SenderName": "Vijaya Sport Club",
|
||||
"SmsServiceUrl": "<sms-service-url>",
|
||||
"SenderPhone": "<sender-phone>",
|
||||
"SmsApiKey": "<sms-api-key>"
|
||||
},
|
||||
"GoogleAuthenticator": {
|
||||
"Issuer": "VijayaAuth",
|
||||
"SecretKeyLength": 32,
|
||||
"TimeWindowSeconds": 30,
|
||||
"ValidationWindowSize": 1,
|
||||
"QrCodeSize": 200
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user