Servicenow and DUO Integration

agulati
Kilo Expert

Hi,

I am planning to do a Servicenow - DUO Integration. The requirement here is to make a call to DUO from a UI page and then do the authentication. Has anyone done this or is there a support for using Node.js files in servicenow to handle this.

Thanks

Aman Gulati

1 ACCEPTED SOLUTION

I was able to implement this successfully   by using REST API calls from ServiceNow to DUO.


The API Integration was done using details listed on   https://www.duosecurity.com/docs/adminapi#api-details



Thanks


Aman Gulati


View solution in original post

14 REPLIES 14

tricial
Giga Contributor

Aman,



I am not too savy on setting up the RESt side for DUO on servicenow.


Could you provide a little more help on what I would need to do in Servicenow side to integrate with DUO please.


Thank you


Tricia


Dan156
Giga Contributor

agulati Can you provide some detail around how you set the HMAC-SHA1 auth header for DUO requests? That is the part where I am stuck. Any help would be much appreciated


Hi danschroeder



In addition to basic auth and Content type header, i am also passing X-Duo-Date in the header.



Additionally i am passing the following


restMessage.addRequestParameter('factor', 'push');


restMessage.addRequestParameter('device', 'auto');



Can you paste your sample code so that i can understand the actual issues and suggest the solution.



Thanks


Aman


Hi @agulati,

Can you share your solution for this? Do you have detailed implementation?

Can you please share the HTTP Header, X-Duo-Date value ? whats the correct format. DUO documentation doesnt say much about it . Thank you !