curl --request GET \
--url https://api-next.ofauth.com/v2/link/{clientSecret} \
--header 'apiKey: <api-key>'{
"status": "awaiting_2fa",
"data": {
"twoFactorState": {
"options": [
"phone",
"app"
],
"phoneCode": {
"requestAttemptsLimit": 3,
"requestAttemptsLeft": 2,
"checkAttemptsLimit": 3,
"checkAttemptsLeft": 3
},
"phoneLast4": "1234"
}
}
}Poll for login status
curl --request GET \
--url https://api-next.ofauth.com/v2/link/{clientSecret} \
--header 'apiKey: <api-key>'{
"status": "awaiting_2fa",
"data": {
"twoFactorState": {
"options": [
"phone",
"app"
],
"phoneCode": {
"requestAttemptsLimit": 3,
"requestAttemptsLeft": 2,
"checkAttemptsLimit": 3,
"checkAttemptsLeft": 3
},
"phoneLast4": "1234"
}
}
}Was this page helpful?