The login page froze after clicking "Continue with Authentik" because
signIn.oauth2() resolves (not rejects) on server 500, leaving the
button stuck in "Connecting..." state permanently.
- Handle the .then() case to detect error/missing redirect URL and
reset loading state with a user-facing error message
- Log BetterAuth silent 500 responses that bypass NestJS error handling
- Enable BetterAuth error-level logger for diagnostic visibility
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>