Taylor Burke
Taylor Burke
Worth noting: the server action pattern used in this reproduction follows the [Auth.js documentation for login](https://authjs.dev/getting-started/session-management/login), which recommends calling `signIn` as a server action.
Thanks for the input. I traced through the source to pin down where this breaks — sharing in case it's useful for the maintainers. **The failure path:** `next-auth/lib/actions.js` lines 10-12...
FYI — while looking at a different issue in this same code path (see #14301), I tested whether switching Claude's launch from `--permission-mode auto` to `bypassPermissions` (this issue's proposed fix)...