Unhandled Runtime Error Error - CredentialsSignin Provider #11341
Labels
bug
Something isn't working
invalid reproduction
The issue did not have a detectable valid reproduction URL
triage
Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
Environment
System:
OS: Windows 11 10.0.22631
CPU: (12) x64 AMD Ryzen 5 5500
Memory: 16.53 GB / 31.87 GB
Binaries:
Node: 20.11.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.21 - ~\AppData\Roaming\npm\yarn.CMD
npm: 10.2.4 - C:\Program Files\nodejs\npm.CMD
pnpm: 9.0.6 - ~\AppData\Roaming\npm\pnpm.CMD
bun: 1.1.6 - ~.bun\bin\bun.EXE
Browsers:
Edge: Chromium (126.0.2592.87)
npmPackages:
next: 14.1.0 => 14.1.0
next-auth: 5.0.0-beta.3 => 5.0.0-beta.3
react: 18.3.1 => 18.3.1
Reproduction URL
https://github.com/nextauthjs/next-auth-example
Describe the issue
I have successfully used Next auth in my project. I use server actions to log in, but I get an error in authentication every time:
Server Component Login Form:
Auth:
How to reproduce
I am importing react server component to a page, authjs tells me to use server actions, so I do so. But when I submit the form, it gives me an annoying error:
Expected behavior
Explain what should have happened instead of what actually happened
The text was updated successfully, but these errors were encountered: