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 There, I am generating an activation code /admin/v1/phones/[phone_id]/activation_url and then i am calling /admin/v1/phones/[phone_id]/send_sms_activation . Below is my code Http request = new Http.HttpBuilder("POST", cmd.getOptionValue("host"), ...

Ripul by Level 1
  • 1394 Views
  • 1 replies
  • 0 Helpful votes

Hi There, I need some assistance in calling DUO api for admin activities like create user, edit user, delete user. I am almost done but I need assistance on below one Pre-request Script for HTTP requests The Duo APIs use HTTP Basic Authentication. Th...

Ripul by Level 1
  • 1745 Views
  • 6 replies
  • 0 Helpful votes

I am trying to get logs using admin API. I generated the HMAC signature using the python code from the Cisco documentation. import base64, email.utils, hmac, hashlib, urllib def sign(method, host, path, params, skey, ikey): “”" Return HTTP Basic Auth...

ssrinidhi by Level 1
  • 1892 Views
  • 3 replies
  • 0 Helpful votes

Hello I am having issue in (JAVA-Duo-Universal-SDK) V - 1.1.3 because this SDKs use an old version of OAuth lib com.auth0:java-jwt:3.3.0 and in My Web Application i am using OAuth Version-3.11.0 for some JWT Purpose Event java.lang.NoSuchMethodErro...

2X_a_a83d8b882bcde294957735258671148dc29e2be8.png

hii are you used WEB-SDK4 for support of MFA and through this you implemented the SSO . if yes then how the email taking prompt you enable because i checked out their is no prompt available for taking user email-id and for that i have to use my custo...

[/admin/v1/users/[user_id]/tokens ] hello i have to check that the token is malicious or not . so i am thinking to use this [/admin/v1/users/[user_id]/tokens ] and get token again and compare and validate it is right thing i am doing or anyother way ...

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
  • 886 Views
  • 1 replies
  • 0 Helpful votes
Quick Links