slack status without the slack status.zzstoatzz.io/
quickslice

Fix preview deployment OAuth redirect

- Add APP_URL to preview deployment secrets
- This ensures OAuth callback redirects to preview URL, not localhost

Changed files
+4 -2
.github
workflows
+3 -2
.github/workflows/fly-review.yml
··· 47 47 # Use smaller resources for review apps 48 48 vmsize: shared-cpu-1x 49 49 memory: 256 50 - # Set OAUTH_REDIRECT_BASE dynamically for OAuth redirects 50 + # Set OAUTH_REDIRECT_BASE and APP_URL dynamically for OAuth redirects 51 51 secrets: | 52 - OAUTH_REDIRECT_BASE=https://zzstoatzz-status-pr-${{ github.event.number }}.fly.dev 52 + OAUTH_REDIRECT_BASE=https://zzstoatzz-status-pr-${{ github.event.number }}.fly.dev 53 + APP_URL=https://zzstoatzz-status-pr-${{ github.event.number }}.fly.dev
+1
fly.review.toml
··· 11 11 ENABLE_FIREHOSE = "true" 12 12 DEV_MODE = "true" 13 13 # OAUTH_REDIRECT_BASE will be set dynamically by the workflow 14 + # APP_URL will be set dynamically by the workflow 14 15 15 16 [http_service] 16 17 internal_port = 8080