Giter VIP home page Giter VIP logo

Comments (10)

mooreds avatar mooreds commented on July 4, 2024 1

Hiya,

You can definitely access it, just not through the client libraries. Here's some documentation about how to do so: https://fusionauth.io/docs/v1/tech/oauth/endpoints#introspect You can use a python HTTP library to create the POST request.

If you are only working with OAuth, you could also use any of the standard OAuth libraries. For this example app I used a mix of the FusionAuth client libraries and requests_oauthlib: https://github.com/FusionAuth/fusionauth-example-flask-portal

from fusionauth-python-client.

AliMirlou avatar AliMirlou commented on July 4, 2024 1

@robotdan IMHO, I suggest introspect_access_token so that it can relate more to all the other method names like exchange_o_auth_code_for_access_token or validate_device which start with a verb.
All of the method names suggested in this issue are pythony though, so no comments on that. 😄

from fusionauth-python-client.

robotdan avatar robotdan commented on July 4, 2024 1

I think we have a winner! introspect_access_token it is. Thanks for the feedback @AliMirlou .

from fusionauth-python-client.

robotdan avatar robotdan commented on July 4, 2024 1

Available in master and 1.19.8
https://pypi.org/project/fusionauth-client/

from fusionauth-python-client.

robotdan avatar robotdan commented on July 4, 2024

It is not currently in the client libraries. We can look at adding it.

from fusionauth-python-client.

AliMirlou avatar AliMirlou commented on July 4, 2024

Isn't it an essential endpoint?

from fusionauth-python-client.

robotdan avatar robotdan commented on July 4, 2024

I'm not against adding it to the client libs.

See commits
FusionAuth/fusionauth-client-builder@12569fd and 62fab4b

I haven't tested this yet... @AliMirlou feel free to see how it works.

@mooreds or @AliMirlou any feedback on the method name?

from fusionauth-python-client.

mooreds avatar mooreds commented on July 4, 2024

I'd probably call it o_auth_introspect for consistency (there are only a few other methods that reference oauth in the name, but one of them uses that clunky string).

from fusionauth-python-client.

robotdan avatar robotdan commented on July 4, 2024

Yeah, normally we wouldn't mention oauth2 but since this is a really specific method I didn't know what else to call it.

I am fine with o_auth_introspect but it is (technically) an OAuth2 thing and not related to OAuth1 (I don't think anyway). But perhaps there is no confusion here since we don't support OAuth v1 at all.

from fusionauth-python-client.

robotdan avatar robotdan commented on July 4, 2024

@AliMirlou any opinion on a name that suites the method, and is also "python-y" :-)

from fusionauth-python-client.

Related Issues (15)

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.