Web Development
Bug Report
Google sign-in fails with Error 400: redirect_uri_mismatch only in production
Sign in with Google worked locally and on staging but failed in production with redirect_uri_mismatch. Behind the TLS proxy our FastAPI app built an http:// callback because Uvicorn did not trust the proxy's headers. How we traced and fixed it.