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 trying to use the Admin API. I’m being told my Authorization signature is invalid with a HTTP 401 response code (“Invalid signature in request credentials” - 40103 to be precise). The trouble is I’m following the guidance in the documentation he...

Vince4 by Level 1
  • 2538 Views
  • 4 replies
  • 0 Helpful votes

Hi, I am evaluating DUO. I need to integrate DUO with my web application written using Oracle J E T javascript framework. I need to invoke 2 factor authentication DUO popup only on the click of a button in a specific page and not right after initial ...

S_p1 by Level 1
  • 1983 Views
  • 1 replies
  • 0 Helpful votes

Hello All, Our organization would like to change “When I log in” option to “Ask me to choose an authentication method” for everyone by default. Is there a way to do this using the API or somewhere in global settings?

ssbobkova by Level 1
  • 979 Views
  • 0 replies
  • 0 Helpful votes

When paging in the API, since things are index based, there are race conditions where records can be omitted or sent twice. (if deletes or inserts happen while retrieving all) e.g. lets say there are groups: test1, test2, test3, test4 Then I call /g...

mchyzer12 by Level 1
  • 2180 Views
  • 3 replies
  • 0 Helpful votes

In the Duo Admin Panel (Duo Admin - Managing Users | Duo Security), you can drag devices up and down to reorder them. How would you accomplish the equivalent operation using the Duo Admin API (Duo Admin API | Duo Security)?

mbeerman by Level 1
  • 1931 Views
  • 1 replies
  • 0 Helpful votes

Resolved! Sorting of devices

@DuoKristina, Suppose a user has three devices added in duo. When I do an auth api request through the endpoint /auth/v2/preauth, in which order the devices are returned? Are those returned in the order they are showing up on the admin sdk? If the a...

3 different methods/approaches, getting 3 different errors. {“code”: 40101, “message”: “Missing request credentials”, “stat”: “FAIL”} {“code”: 40104, “message”: “Missing request timestamp”, “stat”: “FAIL”} {“code”: 40103, “message”: “Invalid signatur...

Hance by Level 1
  • 2660 Views
  • 2 replies
  • 0 Helpful votes

Hello! I am implementing the portal using asp.net and c#. I have the AD authentication set up working but would like to see some web form examples with the code behind for the login.aspx signRequest and verifyResponse methods. What the web.config loo...

lmd1004 by Level 1
  • 3033 Views
  • 2 replies
  • 0 Helpful votes

Is there a list of third parties that support Duo integrations through the Web SDK? There is the native protect application list, but that doesn’t list all products that have Duo integrations already built. It would be convenient to have a wiki page ...

dzagadsky by Level 1
  • 2534 Views
  • 2 replies
  • 0 Helpful votes

I am now testing the DUO RESTful API, I have read from the web side, I need to convert the below header to ‘HMAC-SHA1’ format by using the Secret key. May I ask are there any web site can convert it to HMAC-SHA1 format? Because I want to try the REST...

Sunny4 by Level 1
  • 1159 Views
  • 0 replies
  • 0 Helpful votes

Using the java client for auth api, I have enrolled a user and verified that the user exists. Then I hit the endpoint /auth/v2/enroll_status. I’m getting an error message: “code”: 40002, “message”: “Invalid request parameters”, “message_detail”: “use...

Hello Everyone We just installed/implemented Duo and I have been tasked with setting up the Duo Auth API. I have looked over the document and it is a bit confusing. I am referencing Auth API | Duo Security is there another document or maybe a post th...

Quick Links