nextauthjs / nextauthjs/next-auth
Facebook login using a mobile number fails
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 28.4k
- Forks
- 4k
- PR merge metrics
- No merged PRs in 30d
Description
Next auth 4.22.1
Node: 18.12.1
npm: 9.4.0
https://github.com/nextauthjs/next-auth-example
New Facebook accounts can be created with a mobile number and password. If a mobile number is used, the next-auth-example and/or any auth implementation using the Facebook connector, returns an error.
The connector relies on an email address but this cannot be guaranteed.
Create a new facebook account using a mobile number as your username and ensuring no email address is provided. Using the next-auth-example, try logging in with the Facebook connector and your new account.
If you are able to login to Facebook using a mobile number, you should be able to authenticate with any application with OAuth.
Contributor guide
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 by reproducing the mobile-number-only login in the linked next-auth-example with the Facebook connector. Trace where the connector requires an email address and verify the behavior with a Facebook account that has no email; done means OAuth authentication succeeds without one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nextjs, node.js, typescript
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100