Commit a6aba2a
fix: add basePath to SessionProvider for client-side auth routing
The client-side signIn()/signOut() functions from next-auth/react
default to /api/auth. Since we moved NextAuth to /auth/api to avoid
DO ingress prefix stripping, SessionProvider needs basePath="/auth/api"
to match the server config.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 388a279 commit a6aba2a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
0 commit comments