Giter VIP home page Giter VIP logo

Comments (3)

mooreds avatar mooreds commented on July 23, 2024

@geoffjay

Ah, I think it is an issue with the ordering of the arguments to the call here: https://github.com/FusionAuth/fusionauth-example-python-django/blob/master/secretbirthdays/secretbirthdaysapp/views.py#L38

You can see that in that code, the redirect_url is before the application_id, which is also the client id.

But here: https://github.com/FusionAuth/fusionauth-python-client/blob/master/src/main/python/fusionauth/fusionauth_client.py#L775 the client id is before the redirect url. That is a change that occurred in 1.19.0: https://fusionauth.io/docs/v1/tech/release-notes/#version-1-19-0

Can you try reversing the order of the args in the sample app and see if that resolves your problem?

If so, I'll modify the example app. (I think we fixed this in the blog post but the change didn't propagate to the example app, sorry!)

from fusionauth-example-python-django.

geoffjay avatar geoffjay commented on July 23, 2024

I don't know how this happened but with v1.21.0 the function exchange_o_auth_code_for_access_token was:

return self.start_anonymous().uri("/oauth2/token").post().go()

with nothing that received the body. I reinstalled and now it contains body_handler(). Fixing that, and reordering the inputs fixed the issue. Thanks!

from fusionauth-example-python-django.

mooreds avatar mooreds commented on July 23, 2024

Thanks!

from fusionauth-example-python-django.

Related Issues (1)

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.