Giter Club home page Giter Club logo

Comments (6)

DuoKristina avatar DuoKristina commented on August 19, 2024

Did you grant sufficient privileges to the Admin API application you created in Duo? It needs "Grant read resource" to retrieve objects like users.

from duo_client_python.

jiva avatar jiva commented on August 19, 2024

@DuoKristina This is an issue for me too. Requests to AdminAPI endpoints with existing credentials are 403ing. Permission Grant read resource has already been set.

from duo_client_python.

shahidmuzaffar98 avatar shahidmuzaffar98 commented on August 19, 2024

Did you grant sufficient privileges to the Admin API application you created in Duo? It needs "Grant read resource" to retrieve objects like users.

Thanks Kristina, I got to know the solution in the duo forum itself. Just had to provide sufficient privileges for the admin API.

from duo_client_python.

shahidmuzaffar98 avatar shahidmuzaffar98 commented on August 19, 2024

@DuoKristina This is an issue for me too. Requests to AdminAPI endpoints with existing credentials are 403ing. Permission Grant read resource has already been set.

Hi Jiva,

Just follow the following steps -

Login to your duo dashboard

Open the application section

If you haven't ste up your admin API, do so by going into the protect application (right top corner)

Once done, mark the privileges you want to set up for admin API.

from duo_client_python.

jiva avatar jiva commented on August 19, 2024

@DuoKristina @shahidmuzaffar98

FWIW this is still an issue for me - I granted all available permissions to my set of credentials and calls to admin_api.get_users() continue to throw RuntimeError: Received 403 Access forbidden errors.

My application was set up and working fine and the API/SDK just started throwing these errors a couple days ago with no code changes on my part.

from duo_client_python.

jiva avatar jiva commented on August 19, 2024

Well the answer seems to be that this is API is for paying users and I was on a new account within the trial period, so my access was abruptly cut-off.

from duo_client_python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.