---
id: otpLogin
title: OTP Login
example-tags: [antd, auth-provider, otp-login]
---

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](/docs/3.xx.xx/api-reference/core/providers/auth-provider/).

<CodeSandboxExample path="auth-otp" />
