ServiceNow Duo Integration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2024 03:50 AM
Hello,
We're encountering an issue with integrating Cisco Duo with ServiceNow. Our goal is to authenticate with the Cisco Duo account API using the HMAC-SHA1 algorithm and retrieve account information.
We have successfully executed the API call using Postman, but when attempting the same authentication process within ServiceNow, we're encountering errors.
Endpoint of Cisco Duo Account API
HTTP Method : POST (As per cisco duo account api documentation to retrieve accounts)
https://api-xxxxxxxx.duosecurity.com/accounts/v1/account/list
Authentication steps followed :
1. Created the canonical representation as per the Cisco Duo account API documentation as below:
Tue, 12 Feb 2024 17:29:18 +0000
2. Calculated the signature value using the secret key and HMAC-SHA1 algorithm.
3. Used the generated HMAC value as the password and the Cisco Duo account API Integration key as the username for basic authentication.
HMAC-SHA1 Generation Code in Postman:
Sample ServiceNow Script:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2024 05:55 AM
Hi,
Try with the below API
getSHA1Base64(String source)
from https://developer.servicenow.com/dev.do#!/reference/api/washingtondc/server/no-namespace/c_GlideDige...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2025 07:49 AM
@Praful_1968 - Were you ever able to figure this out. I am also working through this and am having similar issues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2025 05:47 AM
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1641630
This article might explain the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-18-2025 01:09 PM
I was able to figure out a solution
https://www.servicenow.com/community/developer-forum/duo-authentication-header/m-p/3285790#M1207942