next-auth v5 beta.30 cannot reliably pass the /hp-prod-tracker prefix through OAuth redirect_uri — redirectProxyUrl is silently ignored. Instead: AUTH_URL=https://…/api/auth (matches basePath exactly), Auth.js sends consistent redirect_uri in both authorization and token exchange, Apache proxies /api/auth → :3001 before the OliVAS /api/ rule. Azure must have https://optical-dev.oliver.solutions/api/auth/callback/microsoft-entra-id registered. Server .env: AUTH_URL=https://optical-dev.oliver.solutions/api/auth Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| hp-prod-tracker.conf | ||