<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00009ZRqzhCADOkta Classic EngineAuthenticationAnswered2023-08-17T15:47:28.000Z2023-08-16T14:51:49.000Z2023-08-17T15:47:28.000Z

Admin1.00572 (Customer) asked a question.

Third API that triggers Okta Verify Push notification : Device not recognized

Hello,

 

I have an issue with my nodeJS API.

This API can validated an user's Okta Verify One Time code, as well as triggering and validating a Push notification for my users.

 

However, when I receive the Push notification, I cannot accept it from the smartphone taskbar : By clicking on the notification's details, I can see the device just displays Windows 10, and then "Not recognized".

 

I tried to use fingerprint and deviceToken, but the result is always the same : The device is not recognized.

 

Probably I am missing another information to setup from the POST request headers, but which one ?

 

const userAgent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36';

 

const res2 = await axios.post(

      pushHref,

      {

        stateToken: stateToken,  

      },

      {

        headers: {

          Accept: 'application/json',

          'Content-Type': 'application/json',          

          'User-Agent': userAgent,

          'X-Forwarded-For': userIP,

        },

      }

    );

 

 

Thank you in advance for your help !

 

Adrien


This question is closed.
Loading
Third API that triggers Okta Verify Push notification : Device not recognized
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply