Skip to content

[Feature Request] Official SMS/Phone Authentication Module #4667

Closed

Description

@Metaildust

Summary

I've developed a community SMS authentication module for Serverpod that supports phone-based registration, verification code login, and phone number binding. The packages are now available on pub.dev.

Packages

GitHub: https://github.com/Metaildust/serverpod_auth_sms

Features

  • SMS Registration - Register with phone number and verification code
  • Verification Code Login - Login directly with verification code
  • Auto-register on Login - Unregistered users can auto-create account (password required)
  • Phone Binding - Bind phone number to existing account
  • Provider-Agnostic - Support any SMS provider via callbacks
  • Dual Storage Options - Irreversible hash storage or decryptable crypto storage

Request

Would the Serverpod team consider:

  1. Reviewing this module for potential official integration
  2. Adding phone/SMS authentication as a first-class authentication method alongside email

Contribution Offer

I am willing to transfer the full ownership of this module to the Serverpod team for official maintenance. This includes:

  • Full source code and all rights
  • Transferring the pub.dev packages to Serverpod's publisher account
  • Transferring the GitHub repository or merging into serverpod/serverpod

I believe phone/SMS authentication would be a valuable addition to the official Serverpod authentication system, especially for users in regions where phone verification is the standard authentication method (e.g., China, India, Southeast Asia).

Background

Phone number authentication is essential for applications in regions like China, where SMS verification is the standard authentication method. This module follows the pattern of serverpod_auth_idp_server for email authentication.

Activity

  1. Metaildust commented on Feb 1, 2026

    @Metaildust
    Author

    If the Serverpod team prefers that I continue maintaining this package rather than transferring ownership, I would be grateful to know whether any significant changes to the core authentication or login flow are anticipated in the future. This would help me ensure long‑term compatibility and stability.

  2. Metaildust commented on Feb 5, 2026

    @Metaildust
    Author

    This package is now part of the China Community Packages collection.

  3. marcelomendoncasoares commented on Feb 5, 2026

    @marcelomendoncasoares
    Collaborator

    Closing as explained on #4692 (comment).

  4. moved this from Inbox 📫 to Done 🚀 in Serverpod Frameworkson Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions