cURL
curl --request GET \ --url https://api-next.ofauth.com/v2/link/{clientSecret} \ --header 'apiKey: <api-key>'
200
Needs 2FA
{ "status": "awaiting_2fa", "data": { "twoFactorState": { "options": [ "phone", "app" ], "phoneCode": { "requestAttemptsLimit": 3, "requestAttemptsLeft": 2, "checkAttemptsLimit": 3, "checkAttemptsLeft": 3 }, "phoneLast4": "1234" } }}
Poll for login status
Your OFAuth API key for authenticating requests.
Login task status
initialized
pending
awaiting_2fa
denied
completed
invalid_credentials
failed
not_found
Show child attributes
Was this page helpful?