Authenticate with OTP
auth_with_otpComplete OTP authentication by verifying the provided one-time code against the otpId returned from request_otp.
Instructions
Complete OTP authentication using the otpId (from request_otp) and the code the user received.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The one-time code received by the user. | |
| otpId | Yes | The otpId returned by request_otp. | |
| collection | No | Auth collection (default 'users'). |