APIs

A public forum for all your questions about Duo’s API. Troubleshoot API issues and learn from our community how others are protecting their applications.
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

watch here Journey banner_1

Forum Posts

I am looking for an example of using the perl api to get a list one phone numbers in duo and deleting phone numbers from duo. If you use the web admin console to delete a user it deletes the phone device if no one else is using it also. The api to d...

bidwell by Level 1
  • 1607 Views
  • 1 replies
  • 0 Helpful votes

I’m wondering how people here have tackled unit testing their DUO Verify backend endpoints? It seems there isn’t a good way to generate a sign response for testing purposes nor is there a mock-sdk. I was thinking of using nock but it also seems that ...

geverett1 by Level 1
  • 1932 Views
  • 0 replies
  • 0 Helpful votes

I am trying to follow the guide on: https://github.com/duosecurity/duo_nodejs/blob/master/README.md but I am getting this error: Error: Cannot find module 'duo_web’ All of the “npm install” stages seem to be passing properly. To make things clear I a...

c-eshalev by Level 1
  • 1580 Views
  • 0 replies
  • 0 Helpful votes

I’m in the process of writing some code to, via the DUO API, delete users that have left my university and no longer qualify for our license. In looking over the API, it seems that the logic will be something like this: For every user_id to be delet...

I integrated duo to several of our web applications successfully some months back. I recently got our Duo proxy server set up and I want to convert some of our sites to use the HTTP Proxy function rather than pointing directly to Duo. I thought that ...

Cervero by Level 1
  • 2602 Views
  • 1 replies
  • 0 Helpful votes

I currently have duo 2fa integrated with our custom webapp. I would like to now be able to create a user on our account using the admin api. But I cannot find any documentation that has an example of how to do so. I can see from the documentation tha...

Hello, I’m new to Duo Security and have recently successfully integrated Duo Security into my ColdFusion webapp. But now I am trying to expand on that by trying to implement the Admin API to create and delete a user account. I have followed the admin...

Hello, I created a account on Duo.com and manually added couple of users and groups then i have a client which is trying to perform an ldap search i am able to do a ldap_bind successfully but when we try to do a search it fails with ldap error: Criti...

suthakka by Cisco Employee
  • 1831 Views
  • 5 replies
  • 0 Helpful votes

Hi everyone, We’re in the process of rolling out DUO to all of our internal apps at work - and since I was using the API so much I wrote this library in my spare time to make it a bit easier. It’s a .NET Standard library that wraps an HttpClient obje...

I see the general setup instructions here: https://duo.com/docs/device-management Anyone have more granular instructions for a beginner on setting this up? Not sure what to do with the supported client library. Can you walk me through a generic IIS...

Hi All Im wondering if anyone has any packet flow documentation or diagrams? I have DUO working on a windows 7 vm and am looking at it for Sales force through pingone the request is something like initial HTTPS request at sso.connect.example.com Log...

Hello I configured Duo for SSH in Debian, but it doesnt work. In auth.log I see this: “Failsafe Duo login for ‘root’ from [ip]: Couldn’t connect to [API hostname]: Resource temporarily unavailable” I can change keys to random and have same error I ca...

neon12121 by Level 1
  • 1841 Views
  • 1 replies
  • 0 Helpful votes

I’m trying to add Duo to my NextCloud application. I’m not a php developer so I’m looking for some direction. I’ve found the Duo php api repo and I have no idea at which point in the auth flow of nextcloud I should be adding the duo api into the next...

CHBaker by Level 1
  • 5515 Views
  • 4 replies
  • 0 Helpful votes
Quick Links