This repository documents an API for accessing one time passwords to verify credentials (e.g. phone numbers).
- The explainer is a developer-oriented preview of the API.
- The specification draft is aimed at browser developers.
The API has a test suite in the Web Platform Test project.
- Example usage: https://web.dev/web-otp/
- Cross-browser OTP form best practices: https://web.dev/sms-otp-form/
This API is inspired by and loosely based on the following discussions:
The WebOTP API has also been discussed in the following places: