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
Labels

Forum Posts

I am working in an environment where I am unable to load custom modules, so the github solutions really won’t work for me. The authentication encoding method is a horribly twisted process. The latest attempt is (Keys and data are from the Authenticat...

awheeler3 by Level 1
  • 4200 Views
  • 9 replies
  • 0 Helpful votes

Hi, Im hoping im in the right group here. Im looking to create a power automate flow integrated with either PowerApps or power forms to allow users in my network update their profile information such as their phone number and push an activation code ...

mbaker7 by Level 1
  • 841 Views
  • 0 replies
  • 0 Helpful votes

Has anyone used the code from Dan Nash’s public page for the HMAC Sha-1 password. https://www.postman.com/dn1997/workspace/dan-nash-s-public-workspace/folder/6074515-fab97289-1544-478a-9ea0-28bffcc6571b?ctx=documentation I got the hash, but still com...

djmarti3 by Level 1
  • 784 Views
  • 0 replies
  • 0 Helpful votes

I am using a PowerShell script to attempt to sync a user to a directory. I am getting back a {"code": 40401, "message": "Resource not found", "message_detail": "Directory not found", "stat": "FAIL"} Generally when I modify the script I’m getting an ...

Keonip by Level 1
  • 1132 Views
  • 3 replies
  • 0 Helpful votes

I’m using the DuoUniversal C# SDK. Everything works fine most of the time. But intermittently, the call to Client.ExchangeAuthorizationCodeFor2faResult() throws an error because the call to the /oauth/v1/token API has returned a 400 Bad Request res...

AndyL1 by Level 1
  • 1182 Views
  • 2 replies
  • 0 Helpful votes

We are trying to implement DUO for our SSL VPN using Fortinet Firewall/Routers v 6.2.9 and we consistently receive the following error: Traceback (most recent call last): File “twisted\internet\defer.pyc”, line 654, in _runCallbacks File "twisted\i...

/ping The /ping endpoint acts as a “liveness check” that can be called to verify that Duo is up before trying to call other Auth API endpoints. Unlike the other endpoints, this one does not have to be signed with the Authorization header. we made a ...

tomkat1 by Level 1
  • 1262 Views
  • 4 replies
  • 0 Helpful votes

In the Admin documentation, there is python code used to generate the authentication and date headers. I have it working to show for all usernames but when i want to add a parameter of “username=administrator” but no matter how i put it in, i get an ...

mdarby26 by Level 1
  • 783 Views
  • 0 replies
  • 0 Helpful votes

Hello, I am working on a few Perl scripts using the Duo::API module from GitHub. I am mostly using json_api_call() and everything seems to work fine, except that if there is an error, the script just prints the API response message and dies. This s...

Hi Team, I reffed to https://duo.com/docs/authapi#endpoints to use DUO Auth API for check and preauth. i used this https://github.com/duosecurity/duo_client_java/blob/master/duo-client/src/main/java/com/duosecurity/client/Http.java and with this the ...

kpr284 by Level 1
  • 9714 Views
  • 16 replies
  • 0 Helpful votes

We are trying to list the users from all of our Child accounts using the Accounts API. The documentation is very sparse for accessing child accounts, it just says to use the Accounts API and append account_id=[enter the accountid] to the end of an AP...

Quick Links