Skip to content
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

fix(oauth2): ACCESS_TOKEN_METHOD defaults to POST #1048

Merged
merged 1 commit into from
Mar 24, 2025

Conversation

nijel
Copy link
Member

@nijel nijel commented Mar 14, 2025

This is possibly a breaking change for a few backends but makes the code follow RFC and removes need for every backend to override this.

Fixes #284

Proposed changes

Checklist

Put an x in the boxes that apply. You can also fill these out after creating
the PR. If you're unsure about any of them, don't hesitate to ask. We're here to
help! This is simply a reminder of what we are going to look for before merging
your code.

Other information

Any other information that is important to this PR such as screenshots of how
the component looks before and after the change.

@nijel nijel requested a review from a team March 14, 2025 08:17
@nijel nijel force-pushed the access-token-post branch from 6954bd3 to 640ec3e Compare March 14, 2025 08:44
This is possibly a breaking change for a few backends but makes the code
follow RFC and removes need for every backend to override this.

Fixes python-social-auth#284
@nijel nijel force-pushed the access-token-post branch from 640ec3e to de015f9 Compare March 14, 2025 08:51
@atodorov atodorov requested a review from a team March 14, 2025 09:30
@nijel nijel merged commit 71c6fa7 into python-social-auth:master Mar 24, 2025
10 checks passed
@nijel nijel deleted the access-token-post branch March 24, 2025 12:07
@nijel
Copy link
Member Author

nijel commented Mar 24, 2025

Merged. As mentioned, this might be a breaking change for some backends not following RFC. In case you run into this, set ACCESS_TOKEN_METHOD to GET for the affected backend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

ACCESS_TOKEN_METHOD should default to POST instead of GET
2 participants