ReOTP.
真实案例/零号码登录(Zero-Type Auth)
1 阅读需1分钟

零号码登录(Zero-Type Auth)

一键登录 — 无需输入任何内容

概述

最快的用户登录方式:直接通过WhatsApp/Telegram按钮,系统自动捕获号码。

实现方法

使用与ReOTP相同的API接口:

1. 调用POST /api/verify/init,可选参数phoneNumber和method(WHATSAPP/TELEGRAM/PREDICTIVE)。

2. 立即监听SSE(Server-Sent Events)在/api/verify/stream?id=<requestId>。

3. 收到VERIFIED后执行业务逻辑。

UI/UX指南

  • 采用ReOTP设计:暗色背景(#05050A),Liquid Glass卡片带backdrop-blur-xl,白色边框/15px。
  • 显示120秒倒计时营造紧迫感。
  • 每步骤使用单一行动按钮(CTA)。
  • 通过dir属性支持RTL/LTR。

实时预览

下方交互式模拟可查看完整流程。

交互式演示环境
WhatsApp 连接平台
零键盘登录(零类型认证)welcome1/4
ReOTP Service

Fastest login experience: WhatsApp and Telegram buttons directly without a field to enter the number. The system automatically captures the number from the message.