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

Hi all, I have hit a wall trying to get the admin api to allow my calls to the users endpoint to return data. I am getting a 401 “unauthorized” error but I just don’t see what I am doing wrong. Here is a sample of call that my code produces. {Method...

Trying to configure GitHub - duosecurity/duo_log_sync to pull logs out of Duo to our non-splunk SIEM. I would like to use the TCPSSL protocol, but can’t figure out what the “cert_filepath” directive should point to. The docs say: # Location of the ...

Hi, how do we keep track of the original url that client requested. Currently, I am only able to redirect the client back to the default Deafult.aspx page after MFA authentication. I wanted to know, how can I send them back to the original URL they r...

aamir2 by Level 1
  • 807 Views
  • 1 replies
  • 0 Helpful votes

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
  • 3627 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
  • 775 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
  • 737 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
  • 1008 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
  • 1076 Views
  • 2 replies
  • 0 Helpful votes
Quick Links