authentication staus polling URL?
-
# 3 months, 3 weeks ago
Hello everyone,
I am trying to perform an MFA – PUSH NOTIFICATIONS using the miniOrange API, as described in this documentation: https://developers.miniorange.com/docs/idp/api/multi-factor-authentication
The challenge part succeeds, and I get a response like the following when I call the url https://login.xecurify.com/moas/api/auth/challenge
{ txId: 'e02791a5-136c-11ef-a829-021bb5e3269b', authType: 'PUSH NOTIFICATIONS', responseType: 'CHALLENGE', phoneDelivery: { contact: null, sendStatus: null, sendTime: null }, emailDelivery: { contact: 'xxxxxxxxxxxxxxxxxxxxxxxxxxx', sendStatus: null, sendTime: null }, status: 'SUCCESS', message: 'We have sent a PUSH to your phone. Please approve to continue.' }
And also the push notification reaches the phone, so up to this point everything is ok.
The problem comes in the verification part. The documentation indicates that:
To check if user has accepted the push notification, you need to call authentication status polling API.But the URL of the authentication status polling API is not anywhere. There’s just a brief reference in a code sample that says something like this:
{
var timeout;
pollValidation();
function pollValidation()
{
var transId = “<transaction Id generated by challenge API>”;
var jsonString = “{\”txId\”:\””+ transId + “\”}”;
var postUrl = “<authentication status API url>”;
… }But the url is also not in the code.
I have tried with the validation URL: https://login.xecurify.com/moas/api/auth/validate
but without valid result.Please can someone indicate which is the correct URL for authentication status polling API?
Thanks in advance
# 3 months, 2 weeks agoTo poll for the Push Notification status, please call the below API using POST method:
https://login.xecurify.com/moas/api/auth/auth-status
You need to send the transaction ID returned by the/auth/challenge
API in the request body
{txId:'e02791a5-136c-11ef-a829-021bb5e3269b'}
The API will provide a response in this format:
{txId:"b3c4e388-18ef-11ef-861d-021bb5e3269b",responseType:"AUTH_STATUS",status:"IN_PROGRESS",message:"Validation is in progress."}
Once the request is approved, the polling API will return the status SUCCESS instead of IN_PROGRESS
We will update the document with correct polling URL shortly. Feel free to reach out to me at ankit@xecurify.com if you face any further issues.
# 3 months, 2 weeks agoGreetings, thanks a lot for the API url link.
Our MFA – PUSH NOTIFICATIONS through API are already working like a charm.
You must be logged in to reply to this topic.