Skip to main content

Validate OTP Authentication API Guide

Introduction

Use this guide to enable the SecureAuth Authentication API to validate generated one-time passcodes (OTPs) via the /otp/validate POST endpoint.

After the /auth endpoint is called and an OTP is generated, the passcode is stored in the designated IdP property and then validated at this endpoint.

Prerequisites

1. Complete the steps in the Authentication API guide.

2. Configure the realm on the SecureAuth IdP v9.1 or later Web Admin, per the SecureAuth IdP Web Admin Configuration Steps below.

SecureAuth IdP Web Admin Configuration Steps

Endpoint

HTTP Method

Endpoint10

Example

POST

/api/v1/otp/validate

https://secureauth.company.com/secureauth2/api/v1/otp/validate