Something went wrong. Try again.
AtAuth
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041# ATAuth Gateway Configuration# Copy this file to .env and customize for your deployment
# =============================================================================# REQUIRED SETTINGS# =============================================================================
# Admin API token for registering applications# Generate with: openssl rand -hex 32ADMIN_TOKEN=your-secure-admin-token-here
# Your gateway's public URL (where users will be redirected)# This must be accessible from the internet for OAuth to workOAUTH_CLIENT_ID=https://auth.yourdomain.com/client-metadata.jsonOAUTH_REDIRECT_URI=https://auth.yourdomain.com/auth/callback
# =============================================================================# OPTIONAL SETTINGS# =============================================================================
# Allowed CORS origins (comma-separated)# Add your app domains hereCORS_ORIGINS=https://app1.yourdomain.com,https://app2.yourdomain.com
# =============================================================================# SELF-HOSTED PDS CONFIGURATION# =============================================================================# If you run your own PDS, your users authenticate with handles like:# @alice.your-pds.com# @bob.your-pds.com## The gateway automatically discovers the user's PDS from their handle.# No additional configuration needed - just ensure your PDS is accessible.## Benefits of self-hosted PDS:# - Full control over your identity infrastructure# - No dependency on Bluesky's servers# - Works on air-gapped networks (if PDS is local)# - Your data stays on your infrastructure# =============================================================================