|
Use configured GNAUTH_REDIRECT_URI instead of dynamic base_url
_get_redirect_uri was building the redirect_uri from request.base_url, which returns the internal address when behind a reverse proxy. This caused gnexus-auth to reject the redirect_uri as invalid. Now _get_redirect_uri always returns settings.gnauth_redirect_uri, so the public URL configured in .env is used consistently. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
|---|
|
|
| navi/api/routes/auth.py |
|---|