Comments (3)
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.
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.
Thanks!
from fusionauth-example-python-django.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fusionauth-example-python-django.