You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Note:** Login (`/login`)and password reset routes are always whitelisted automatically.
251
+
**Note:** Login (`/login`), password reset page (default `/reset-password` or your custom `passwordResetUrl`), and password reset API endpoints are always whitelisted automatically.
The module automatically detects your application's base URL from the incoming request, so you don't need to configure a full base URL. The system intelligently combines:
64
+
65
+
-**Request host**: Automatically detected from headers
66
+
-**Protocol**: Detected from `x-forwarded-proto` header or defaults to `http`
67
+
-**Reset path**: Your configured `passwordResetUrl` (default: `/reset-password`)
68
+
69
+
### Development vs Production
70
+
71
+
**Development** (automatic detection):
72
+
- Request to `http://localhost:3000` → Reset URL: `http://localhost:3000/reset-password`
73
+
74
+
**Production** (automatic detection):
75
+
- Request to `https://myapp.com` → Reset URL: `https://myapp.com/reset-password`
0 commit comments