{
  "manifest_version": "1.0.0",
  "template": {
    "id": "3fb770b8-4640-4566-bfd9-169669502553",
    "slug": "authentik-or-just-updated-sso-identity-p",
    "name": "Authentik | (Just Updated) SSO Identity Provider, OIDC and SAML, Admin Login and API Token Ready",
    "description": "Authentik SSO identity provider: OIDC, SAML, LDAP, generated admin login",
    "url": "https://railway.com/deploy/authentik-or-just-updated-sso-identity-p",
    "upstream": {
      "image": "ghcr.io/goauthentik/server:2026.8.5@sha256:602227a86455d6772e3d16b7d852713c4f864f40df5df894abd1285bb53979a5"
    }
  },
  "status": "unvalidated",
  "validated_at": null,
  "success_rate_30d": null,
  "services": [
    {
      "name": "postgres",
      "source": {
        "image": "postgres:17@sha256:31ba9c94a03ada9988f2bb493a22a75eef3a185884533e5cdbcd498ea835b08f"
      },
      "needs_volume": true,
      "volume_mount_path": "/var/lib/postgresql",
      "http": false
    },
    {
      "name": "authentik",
      "source": {
        "image": "ghcr.io/goauthentik/server:2026.8.5@sha256:602227a86455d6772e3d16b7d852713c4f864f40df5df894abd1285bb53979a5"
      },
      "needs_volume": true,
      "volume_mount_path": "/data",
      "http": true
    }
  ],
  "required_inputs": [
    {
      "key": "POSTGRES_PASSWORD",
      "service": "postgres",
      "description": "Provide a value for POSTGRES_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "RAILWAY_RUN_UID",
      "service": "authentik",
      "description": "Provide a value for RAILWAY_RUN_UID.",
      "secret": false,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "AUTHENTIK_SECRET_KEY",
      "service": "authentik",
      "description": "Provide a value for AUTHENTIK_SECRET_KEY.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "AUTHENTIK_BOOTSTRAP_EMAIL",
      "service": "authentik",
      "description": "Provide a value for AUTHENTIK_BOOTSTRAP_EMAIL.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_domain"
    },
    {
      "key": "AUTHENTIK_BOOTSTRAP_TOKEN",
      "service": "authentik",
      "description": "Provide a value for AUTHENTIK_BOOTSTRAP_TOKEN.",
      "secret": true,
      "strategy": "generate",
      "generate": "random_base64_32"
    },
    {
      "key": "AUTHENTIK_POSTGRESQL__HOST",
      "service": "authentik",
      "description": "Provide a value for AUTHENTIK_POSTGRESQL__HOST.",
      "secret": false,
      "strategy": "railway_provided",
      "railway_source": "railway_private_domain"
    },
    {
      "key": "AUTHENTIK_BOOTSTRAP_PASSWORD",
      "service": "authentik",
      "description": "Provide a value for AUTHENTIK_BOOTSTRAP_PASSWORD.",
      "secret": true,
      "strategy": "generate",
      "generate": "strong_password"
    },
    {
      "key": "AUTHENTIK_POSTGRESQL__PASSWORD",
      "service": "authentik",
      "description": "Provide a value for AUTHENTIK_POSTGRESQL__PASSWORD.",
      "secret": true,
      "strategy": "railway_provided",
      "railway_source": "reference_variable"
    }
  ],
  "deploy": {
    "mcp": {
      "server": "railway",
      "tool": "deploy_template",
      "args": {
        "template_code": "authentik-or-just-updated-sso-identity-p"
      }
    },
    "cli": "railway deploy --template authentik-or-just-updated-sso-identity-p",
    "api": {
      "method": "POST",
      "path": "/graphql/v2",
      "body": {
        "query": "mutation templateDeploy($input: TemplateDeployV2Input!) { templateDeployV2(input: $input) { projectId workflowId } }",
        "variables": {
          "input": {
            "templateId": "3fb770b8-4640-4566-bfd9-169669502553",
            "serializedConfig": {
              "buckets": {},
              "services": {
                "0b246b34-f02e-48ff-8393-63d025951e29": {
                  "icon": null,
                  "name": "postgres",
                  "deploy": {
                    "startCommand": null,
                    "healthcheckPath": null,
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "postgres:17@sha256:31ba9c94a03ada9988f2bb493a22a75eef3a185884533e5cdbcd498ea835b08f"
                  },
                  "variables": {
                    "POSTGRES_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{POSTGRES_PASSWORD}}"
                    }
                  },
                  "volumeMounts": {
                    "0b246b34-f02e-48ff-8393-63d025951e29": {
                      "mountPath": "/var/lib/postgresql"
                    }
                  }
                },
                "fbe658a7-a602-4107-9cfd-71783c36c965": {
                  "icon": null,
                  "name": "authentik",
                  "deploy": {
                    "startCommand": "/bin/sh -c 'export AUTHENTIK_LISTEN__HTTP=\"[::]:${PORT:-9000}\" AUTHENTIK_POSTGRESQL__USER=postgres AUTHENTIK_POSTGRESQL__NAME=postgres AUTHENTIK_DISABLE_UPDATE_CHECK=true AUTHENTIK_DISABLE_STARTUP_ANALYTICS=true; echo \"authentik boot uid=$(id -u) listen=$AUTHENTIK_LISTEN__HTTP data_owner=$(stat -c %u:%g /data)\"; exec dumb-init -- ak allinone'",
                    "healthcheckPath": "/api/v3/",
                    "restartPolicyType": "ON_FAILURE",
                    "restartPolicyMaxRetries": 10
                  },
                  "source": {
                    "image": "ghcr.io/goauthentik/server:2026.8.5@sha256:602227a86455d6772e3d16b7d852713c4f864f40df5df894abd1285bb53979a5"
                  },
                  "variables": {
                    "RAILWAY_RUN_UID": {
                      "isOptional": false,
                      "defaultValue": "{{RAILWAY_RUN_UID}}"
                    },
                    "AUTHENTIK_SECRET_KEY": {
                      "isOptional": false,
                      "defaultValue": "{{AUTHENTIK_SECRET_KEY}}"
                    },
                    "AUTHENTIK_BOOTSTRAP_EMAIL": {
                      "isOptional": false,
                      "defaultValue": "admin@${{RAILWAY_PUBLIC_DOMAIN}}"
                    },
                    "AUTHENTIK_BOOTSTRAP_TOKEN": {
                      "isOptional": false,
                      "defaultValue": "{{AUTHENTIK_BOOTSTRAP_TOKEN}}"
                    },
                    "AUTHENTIK_POSTGRESQL__HOST": {
                      "isOptional": false,
                      "defaultValue": "${{postgres.RAILWAY_PRIVATE_DOMAIN}}"
                    },
                    "AUTHENTIK_BOOTSTRAP_PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "{{AUTHENTIK_BOOTSTRAP_PASSWORD}}"
                    },
                    "AUTHENTIK_POSTGRESQL__PASSWORD": {
                      "isOptional": false,
                      "defaultValue": "${{postgres.POSTGRES_PASSWORD}}"
                    }
                  },
                  "networking": {
                    "serviceDomains": {
                      "<hasDomain>:8080": {
                        "port": 8080
                      }
                    }
                  },
                  "volumeMounts": {
                    "fbe658a7-a602-4107-9cfd-71783c36c965": {
                      "mountPath": "/data"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "post_deploy": {
    "healthcheck": {
      "service": "authentik",
      "method": "GET",
      "path": "/api/v3/",
      "expect_status": 200
    }
  },
  "resources": {
    "expected_services": 2,
    "needs_volume": true
  },
  "generated_at": "2026-10-29T04:15:00.444Z",
  "generator_version": "0.1.0"
}
