Better oauth, appview groundwork

This commit is contained in:
lewis
2025-12-17 23:29:48 +02:00
parent dea6c09aa0
commit 2cf87e2cfb
45 changed files with 4586 additions and 906 deletions
+18 -3
View File
@@ -48,10 +48,25 @@ AWS_SECRET_ACCESS_KEY=minioadmin
# Optional: rotation key for PLC operations (defaults to user's key)
# PLC_ROTATION_KEY=did:key:...
# =============================================================================
# Federation
# AppView Federation
# =============================================================================
# Appview URL for proxying app.bsky.* requests
# APPVIEW_URL=https://api.bsky.app
# AppViews are resolved via DID-based discovery. Configure by mapping lexicon
# namespaces to AppView DIDs. The DID document is fetched and the service
# endpoint is extracted automatically.
#
# Format: APPVIEW_DID_<NAMESPACE>=<did>
# Where <NAMESPACE> uses underscores instead of dots (e.g., APP_BSKY for app.bsky)
#
# Default: app.bsky and com.atproto -> did:web:api.bsky.app
#
# Examples:
# APPVIEW_DID_APP_BSKY=did:web:api.bsky.app
# APPVIEW_DID_COM_WHTWND=did:web:whtwnd.com
# APPVIEW_DID_BLUE_ZIO=did:plc:some-custom-appview
#
# Cache TTL for resolved AppView endpoints (default: 300 seconds)
# APPVIEW_CACHE_TTL_SECS=300
#
# Comma-separated list of relay URLs to notify via requestCrawl
# CRAWLERS=https://bsky.network,https://relay.upcloud.world
# =============================================================================