{
  "manifest": {
    "spekkr": 1,
    "id": "kato/oauth-sign-in",
    "name": "Sign in with Google or GitHub",
    "summary": "Sign-in through Google and GitHub, with linking rules that cannot be used to take over someone else's account.",
    "keywords": [
      "social login",
      "login",
      "log in",
      "sso",
      "openid connect",
      "oidc",
      "authentication"
    ],
    "kind": "app part",
    "version": "0.1.2",
    "author": {
      "id": "kato",
      "name": "Kato"
    },
    "targets": {
      "platforms": [
        "web",
        "backend"
      ]
    },
    "customize": {
      "settings": [
        {
          "key": "app_name",
          "label": "App name",
          "default": "Acme",
          "help": "Shown on the pages."
        }
      ],
      "options": [
        {
          "key": "link_by_email",
          "label": "Link to an existing account by email",
          "default": true,
          "help": "A first sign-in whose verified email matches a confirmed account signs in to that account."
        },
        {
          "key": "allow_sign_up",
          "label": "Let new people sign up",
          "default": true,
          "help": "Someone with no account gets one. Off means only existing accounts can sign in."
        }
      ],
      "swaps": [
        {
          "key": "database",
          "label": "Database",
          "choices": [
            "postgres",
            "sqlite"
          ],
          "default": "postgres"
        },
        {
          "key": "providers",
          "label": "Which providers",
          "choices": [
            "google_and_github",
            "google",
            "github"
          ],
          "default": "google_and_github"
        }
      ]
    },
    "files": [
      {
        "path": "spec.md",
        "about": "Requirements and acceptance criteria."
      },
      {
        "path": "design.md",
        "about": "Data model, rules and flows."
      },
      {
        "path": "tasks.md",
        "about": "Build tasks in order, each with a check."
      }
    ],
    "needs": {
      "accounts": [
        "A Google OAuth client",
        "A GitHub OAuth app"
      ],
      "permissions": [
        "shell",
        "network"
      ]
    },
    "demo": {
      "screenshots": [
        "shots/sign_in_desktop.png",
        "shots/signed_in_home.png",
        "shots/connected_accounts.png",
        "shots/sign_in_mobile.png"
      ]
    },
    "safety": {
      "secrets": [
        "DATABASE_URL",
        "SESSION_SECRET",
        "GOOGLE_CLIENT_ID",
        "GOOGLE_CLIENT_SECRET",
        "GITHUB_CLIENT_ID",
        "GITHUB_CLIENT_SECRET"
      ]
    },
    "lineage": {},
    "changelog": [
      {
        "version": "0.1.2",
        "date": "2026-11-15",
        "note": "Names what it builds."
      },
      {
        "version": "0.1.1",
        "date": "2026-11-14",
        "note": "Says \"person\" where it said \"buyer\"."
      },
      {
        "version": "0.1.0",
        "date": "2026-11-14",
        "note": "Moved from dwrtz/oauth-sign-in."
      }
    ]
  },
  "links": {
    "page": "./",
    "bundle": "bundle.tar.gz",
    "files": {
      "design.md": "files/design.md",
      "shots/connected_accounts.png": "files/shots/connected_accounts.png",
      "shots/sign_in_desktop.png": "files/shots/sign_in_desktop.png",
      "shots/sign_in_mobile.png": "files/shots/sign_in_mobile.png",
      "shots/signed_in_home.png": "files/shots/signed_in_home.png",
      "spec.md": "files/spec.md",
      "tasks.md": "files/tasks.md"
    }
  },
  "publishedBy": "kato",
  "uploaded": {
    "shots/connected_accounts.png": {
      "bytes": 34212,
      "type": "image/png"
    },
    "shots/sign_in_desktop.png": {
      "bytes": 27283,
      "type": "image/png"
    },
    "shots/sign_in_mobile.png": {
      "bytes": 22280,
      "type": "image/png"
    },
    "shots/signed_in_home.png": {
      "bytes": 19331,
      "type": "image/png"
    }
  }
}
