apiVersion: v1
kind: ConfigMap
metadata:
  name: identityserver-configs
  namespace: default
data:
  appsettings: |
    {      
      "ConnectionStrings": {
        "ConfigurationDbConnection": "",
        "PersistedGrantDbConnection": "",
        "IdentityDbConnection": "",
        "AdminLogDbConnection": "",
        "AdminAuditLogDbConnection": "",
        "DataProtectionDbConnection": ""
      },
      "AdminConfiguration": {
        "IdentityAdminRedirectUri": "http://id-admin.lemonsharp.top/signin-oidc",
        "IdentityServerBaseUrl": "http://id.lemonsharp.top",
        "IdentityAdminCookieName": "IdentityServerAdmin",
        "IdentityAdminCookieExpiresUtcHours": 12,
        "RequireHttpsMetadata": false,
        "TokenValidationClaimName": "name",
        "TokenValidationClaimRole": "role",
        "ClientId": "skoruba_identity_admin",
        "ClientSecret": "skoruba_admin_client_secret",
        "OidcResponseType": "code id_token",
        "Scopes": [
          "openid",
          "profile",
          "email",
          "roles"
        ],
        "AdministrationRole": "SkorubaIdentityAdminAdministrator"
      },
      "SendGridConfiguration": {
        "ApiKey": "SG.",
        "SourceEmail": "noreply@lemonsharp.top",
        "SourceName": "LemonSharp Account Center"
      },
      "ExternalProvidersConfiguration": {
        "UseGitHubProvider": true,
        "GitHubClientId": "ef2d301855c856fab3c0",
        "GitHubClientSecret": ""
      }
    }