{
    "Logging": {
        "LogLevel": {
            "Default": "Information",
            "Microsoft.AspNetCore": "Warning",
            "Microsoft.EntityFrameworkCore": "Warning"
        }
    },
    "Serilog": {
        "MinimumLevel": {
            "Default": "Information",
            "Override": {
                "Microsoft": "Warning",
                "Microsoft.EntityFrameworkCore": "Warning",
                "System": "Warning"
            }
        },
        "WriteTo": [
            {
                "Name": "Console",
                "Args": {
                    "outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj} {Properties:j}{NewLine}{Exception}"
                }
            }
        ],
        "Enrich": [
            "FromLogContext",
            "WithMachineName",
            "WithThreadId"
        ]
    },
    "ConnectionStrings": {
        "DefaultConnection": "Host=ep-holy-glitter-a4hongg7-pooler.us-east-1.aws.neon.tech;Port=5432;Database=iam_service;Username=neondb_owner;Password=npg_Ssfy6HKO0cXI;SSL Mode=Require"
    },
    "IdentityServer": {
        "Authority": "http://localhost:5001"
    },
    "Redis": {
        "Host": "167.114.174.113",
        "Port": 6379,
        "Password": "Velik@2026",
        "Database": 0,
        "ConnectTimeout": 5000,
        "SyncTimeout": 5000
    },
    "Jwt": {
        "Secret": "goodgo-iam-service-secret-key-32chars!",
        "Issuer": "goodgo-platform",
        "Audience": "goodgo-services",
        "AccessTokenExpiryMinutes": 15,
        "RefreshTokenExpiryDays": 7
    },
    "Email": {
        "SmtpServer": "smtp.mailgun.org",
        "SmtpPort": 587,
        "SmtpLogin": "admin@mail.goodgo.us",
        "SmtpPassword": "a469e9333580ef5dbb141f01e33864ef-51afd2db-6c014754",
        "SenderEmail": "verify@mail.goodgo.us",
        "SenderName": "GoodGo IAM Service",
        "BaseUrl": "http://localhost:5001"
    },
    "TwoFactor": {
        "Issuer": "IAM Service",
        "CodeLength": 6,
        "ValidityPeriodSeconds": 30
    },
    "SocialLogin": {
        "Google": {
            "ClientId": "",
            "ClientSecret": ""
        },
        "Facebook": {
            "AppId": "",
            "AppSecret": ""
        },
        "CallbackUrl": "/api/auth/external-callback"
    },
    "AllowedHosts": "*"
}