# Template for /etc/products/rithub-oauth.env on railyard-box. # Root-only (chown root:deploy, chmod 640 -- same convention as # /etc/products/scribase.env, /etc/products/toolgate.env). Never commit # a filled-in copy of this file anywhere. # # Created once by the owner with real values, then: # sudo bash /srv/railyard-gitea/scripts/add-rithub-oauth-sources.sh # adds whichever sources have both KEY and SECRET set, and is safe to # re-run (skips sources that already exist). # # Owner steps + exact callback URLs/field values for each provider are # in plans/railyard.md (search "rithub-oauth.env"). RITHUB_GITHUB_CLIENT_ID= RITHUB_GITHUB_CLIENT_SECRET= RITHUB_GOOGLE_CLIENT_ID= RITHUB_GOOGLE_CLIENT_SECRET= # Apple: RITHUB_APPLE_SERVICES_ID is the Services ID identifier # (com.rithub.signin, or similar), not the Apple ID/team account. # APPLE_TEAM_ID is the 10-character Developer Team ID (shared with any # other Apple product secrets already on this box, if present). # RITHUB_APPLE_KEY_ID is the Key ID shown next to the Sign in with Apple # key when it was generated. RITHUB_APPLE_P8_PATH is a root-only path to # the downloaded .p8 private key file (e.g. /etc/products/rithub-apple-signin.p8, # chmod 600, chown root:root) -- Apple only lets you download it once. RITHUB_APPLE_SERVICES_ID= APPLE_TEAM_ID= RITHUB_APPLE_KEY_ID= RITHUB_APPLE_P8_PATH=