91 lines
2.4 KiB
JSON
91 lines
2.4 KiB
JSON
{
|
|
"Debug": true,
|
|
"BaseUrl": "http://localhost:5071",
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"ConnectionStrings": {
|
|
"App": "Host=localhost;Port=5432;Database=dyson_pass;Username=postgres;Password=postgres;Include Error Detail=True;Maximum Pool Size=20;Connection Idle Lifetime=60",
|
|
"FastRetrieve": "localhost:6379",
|
|
"Etcd": "etcd.orb.local:2379"
|
|
},
|
|
"Authentication": {
|
|
"Schemes": {
|
|
"Bearer": {
|
|
"ValidAudiences": [
|
|
"http://localhost:5071",
|
|
"https://localhost:7099"
|
|
],
|
|
"ValidIssuer": "solar-network"
|
|
}
|
|
}
|
|
},
|
|
"AuthToken": {
|
|
"PublicKeyPath": "Keys/PublicKey.pem",
|
|
"PrivateKeyPath": "Keys/PrivateKey.pem"
|
|
},
|
|
"OidcProvider": {
|
|
"IssuerUri": "https://nt.solian.app",
|
|
"PublicKeyPath": "Keys/PublicKey.pem",
|
|
"PrivateKeyPath": "Keys/PrivateKey.pem",
|
|
"AccessTokenLifetime": "01:00:00",
|
|
"RefreshTokenLifetime": "30.00:00:00",
|
|
"AuthorizationCodeLifetime": "00:30:00",
|
|
"RequireHttpsMetadata": true
|
|
},
|
|
"Captcha": {
|
|
"Provider": "cloudflare",
|
|
"ApiKey": "0x4AAAAAABCDUdOujj4feOb_",
|
|
"ApiSecret": "0x4AAAAAABCDUWABiJQweqlB7tYq-IqIm8U"
|
|
},
|
|
"GeoIp": {
|
|
"DatabasePath": "./Keys/GeoLite2-City.mmdb"
|
|
},
|
|
"Oidc": {
|
|
"Google": {
|
|
"ClientId": "961776991058-963m1qin2vtp8fv693b5fdrab5hmpl89.apps.googleusercontent.com",
|
|
"ClientSecret": ""
|
|
},
|
|
"Apple": {
|
|
"ClientId": "dev.solsynth.solian",
|
|
"TeamId": "W7HPZ53V6B",
|
|
"KeyId": "B668YP4KBG",
|
|
"PrivateKeyPath": "./Keys/Solarpass.p8"
|
|
},
|
|
"Microsoft": {
|
|
"ClientId": "YOUR_MICROSOFT_CLIENT_ID",
|
|
"ClientSecret": "YOUR_MICROSOFT_CLIENT_SECRET",
|
|
"DiscoveryEndpoint": "YOUR_MICROSOFT_DISCOVERY_ENDPOINT"
|
|
}
|
|
},
|
|
"Payment": {
|
|
"Auth": {
|
|
"Afdian": "<token here>"
|
|
},
|
|
"Subscriptions": {
|
|
"Afdian": {
|
|
"7d17aae23c9611f0b5705254001e7c00": "solian.stellar.primary",
|
|
"7dfae4743c9611f0b3a55254001e7c00": "solian.stellar.nova",
|
|
"141713ee3d6211f085b352540025c377": "solian.stellar.supernova"
|
|
}
|
|
}
|
|
},
|
|
"KnownProxies": [
|
|
"127.0.0.1",
|
|
"::1"
|
|
],
|
|
"Service": {
|
|
"Name": "DysonNetwork.Pass",
|
|
"Url": "http://localhost:5216",
|
|
"ClientCert": "../Certificates/client.crt",
|
|
"ClientKey": "../Certificates/client.key"
|
|
},
|
|
"Etcd": {
|
|
"Insecure": true
|
|
}
|
|
}
|