76 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			76 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
  "Debug": true,
 | 
						|
  "BaseUrl": "http://localhost:5001",
 | 
						|
  "SiteUrl": "http://localhost:3000",
 | 
						|
  "Logging": {
 | 
						|
    "LogLevel": {
 | 
						|
      "Default": "Information",
 | 
						|
      "Microsoft.AspNetCore": "Warning"
 | 
						|
    }
 | 
						|
  },
 | 
						|
  "AllowedHosts": "*",
 | 
						|
  "ConnectionStrings": {
 | 
						|
    "App": "Host=host.docker.internal;Port=5432;Database=dyson_pass;Username=postgres;Password=postgres;Include Error Detail=True;Maximum Pool Size=20;Connection Idle Lifetime=60"
 | 
						|
  },
 | 
						|
  "Authentication": {
 | 
						|
    "Schemes": {
 | 
						|
      "Bearer": {
 | 
						|
        "ValidAudiences": ["http://localhost:5071", "https://localhost:7099"],
 | 
						|
        "ValidIssuer": "solar-network"
 | 
						|
      }
 | 
						|
    }
 | 
						|
  },
 | 
						|
  "AuthToken": {
 | 
						|
    "CookieDomain": "localhost",
 | 
						|
    "PublicKeyPath": "/app/keys/PublicKey.pem",
 | 
						|
    "PrivateKeyPath": "/app/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"]
 | 
						|
}
 |