New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
client_id and client_secret required for Meetup #239
Comments
Can you show us the code/diff please? The error seems pretty clear, it believes you haven't given it the Also, can you run a |
I've made progress. I viewed the queries through BurpSuite and it seems that the Meetup API doesn't support the Authorization header. I can see that client_id and client_secret are Base64 encoded correctly there. However, the server rejects the request saying that client_id and client_secret are not included. By overriding the Oauth2Session class and setting include_client_id=True, the request goes through with the parameters instead of the Authorization header and the response is successful. I've created a fork and I'll create a pull request for your consideration. I've also created a quickstart 'flask-dance-meetup' project if you would like me to get that to you. Thanks. |
If you want your "flask-dance-meetup" project listed in the documentation, that would be great! Just send a pull request. |
I'm closing this issue due to a lack of updates. |
In the PR this was rejected in favour of implementing a change in
I think this issue should be left open until the downstream is fixed since authorization with flask-dance latest version for Meetup is still broken. |
(If that workaround turns out to actually be acceptable to be included in |
is also required to get auto refresh to work |
That was a lifesaver, thanks so much @rach-sharp for sharing the workaround. I think as a first iteration, updating the Meetup quickstart code snippet to include the |
As a side note, I've just noticed that the Meetup quickstart page was removed from the documentation after v1.3.0. |
@rach-sharp @dplanella could you two please review #274? |
@singingwolfboy oh wow, thanks! Just a note in case it's related. Without the additional snippet to auto-refresh the token, as per @rach-sharp's #239 (comment), the token will expire after a while (3600 seconds?), and a |
Thanks very much for writing this package. Should make flask projects a lot tidier!
I'm having an issue with the Meetup blueprint, and I can't figure out what's up. I've taken the flask-dance-github project as a test (and confirmed it works fine with Github) and modified it minimally so it should work with Meetup. (Slightly different parameter names.) However I get the following error:
I am being successfully redirected to the authorize endpoint on Meetup, and I accept, then I am quickly redirected back to /meetup/login/authorized. However it seems that the client_id and client_secret are not then being sent to the access endpoint on Meetup.
Don't currently have a proxy to properly check the requests from flask. Any idea what the cause might be?
Cheers.
The text was updated successfully, but these errors were encountered: