Back to Refine

OTP Login Example | Passwordless Auth in Refine v4

documentation/versioned_docs/version-4.xx.xx/examples/auth-provider/otpLogin.md

3.25.0449 B
Original Source

A one-time password(OTP) is a password that has two fundamental properties : it expires quickly, and it can’t be reused. OTPs are usually numeric or alphanumeric strings and are generated for a single login procedure. This example shows how to utilize OTP input logic with Refine. You can use one-time passwords to access your application with Refine AuthProvider.

<CodeSandboxExample path="auth-otp" />