[GH-ISSUE #530] phone number + password login mechanism #8308

Closed
opened 2026-04-13 03:22:50 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @ywyher on GitHub (Nov 14, 2024).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/530

since the phone number plugin login the user by default on verification i don't see a reason why the mechanism isn't there yet
and if not planned for the soon future i think removing "allowing users to sign in" from the docs would be better, since i spent a good amount of time implementing the phone number functionality thinking that i will be able to sign users in using it just to get surprised that i can't lol

Originally created by @ywyher on GitHub (Nov 14, 2024). Original GitHub issue: https://github.com/better-auth/better-auth/issues/530 since the phone number plugin login the user by default on verification i don't see a reason why the mechanism isn't there yet and if not planned for the soon future i think removing "allowing users to sign in" from the docs would be better, since i spent a good amount of time implementing the phone number functionality thinking that i will be able to sign users in using it just to get surprised that i can't lol
GiteaMirror added the locked label 2026-04-13 03:22:50 -05:00
Author
Owner

@Bekacru commented on GitHub (Nov 14, 2024):

well that shouldn't be the case. you can try it on 0.8.4-beta.1. Will be merged soon!

await authClient.signIn.phoneNumber({
    phoneNumber: "+123456789",
    password: "password",
    remeberMe: true //optional defaults to true
})
<!-- gh-comment-id:2476951071 --> @Bekacru commented on GitHub (Nov 14, 2024): well that shouldn't be the case. you can try it on `0.8.4-beta.1`. Will be merged soon! ```ts await authClient.signIn.phoneNumber({ phoneNumber: "+123456789", password: "password", remeberMe: true //optional defaults to true }) ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#8308