Using OTP
Steps to activate and use otp
OTP verification
OTP already enabled
- Query the login endpoint with the usual expected response body.
- Use the returned sessionID and OTP on authenticator to post to
/auth/verify-otpWhich will then return your login redentials
Activating OTP
- Send a get to
/auth/enable-otpwhich will return a session ID and google authenticator info - Use the session ID and otp from authenticator to send a get to
/auth/verify-otp - It will only return your userID to confirm OTP was registered succesfully.