ReOTP.
Samfuran Haɗawa (Integration Models)/Enhanced Traditional System (Standard 2FA)
1 minti na karatu

Enhanced Traditional System (Standard 2FA)

How to securely implement classic two-factor authentication for sensitive operations.

This system is ideal for financial operations and admin dashboards. It ensures the client is physically present and performing the action themselves.

Programming Steps:

1. The user enters their regular password, which is verified on your server.

2. Instead of sending SMS, you call the /api/verify/init endpoint to start a ReOTP session.

3. The ReOTP interface appears, requesting the user to send the code via WhatsApp or Telegram.

4. Your frontend initiates SSE (Server-Sent Events) on /api/verify/stream.

5. Once the server returns VERIFIED, the user is allowed to log in or complete the sensitive financial operation.