Add graceful auth-not-configured guards
- auth_login/auth_callback return 503 when GNAUTH_CLIENT_ID/SECRET are empty
- webhooks return 503 when OAuth not configured
- _resolve_user returns None early if auth not configured, avoiding crash
  during anonymous requests when gnexus-auth is not set up

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent eb1b17f commit d65490e1297182cbb342abea66860b268bd90a02
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 4 May
Showing 3 changed files
View
navi/api/routes/auth.py
View
navi/api/routes/webhooks.py
View
navi/auth/deps.py