Invalid credentials at Login
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
When trying to Login in learn Dashboard app, I have this error on screen below to login form:
"Invalid credentials"
In actions.ts function authenticate the output of console.log(formdata) is:
FormData {
'$ACTION_REF_1': '',
'$ACTION_1:0': '{"id":"60b11314430f6e48c77351dfd87ceae1f0341f3d2b","bound":"$@1"}',
'$ACTION_1:1': '["$undefined"]',
'$ACTION_KEY': 'k3687519312',
email: 'user@nextmail.com',
password: '123456',
redirectTo: 'http://localhost:3000/dashboard'
}
Any help?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in actions.ts at the authenticate function and reproduce the login with user@nextmail.com and the reported password. Inspect how the submitted FormData is handled and how the credentials result is surfaced. Done means the sample login no longer shows "Invalid credentials" and reaches the dashboard.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- next.js, typescript
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100