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: Etsy OAuth2 Authentication bugs #880

Merged
merged 5 commits into from Jan 31, 2024

Conversation

amitray007
Copy link
Contributor

Proposed changes

Resolves Issue: #879

Types of changes

Please check the type of change your PR introduces:

  • Release (new release request)
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (PEP8, lint, formatting, renaming, etc)
  • Refactoring (no functional changes, no api changes)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Build related changes (build process, tests runner, etc)
  • Other (please describe):

Checklist

Other information

Note: This is a breaking change and could potentially break authentications.

Copy link

codecov bot commented Jan 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f6d81fd) 77.77% compared to head (1529030) 77.77%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #880   +/-   ##
=======================================
  Coverage   77.77%   77.77%           
=======================================
  Files         347      347           
  Lines       10604    10606    +2     
  Branches      699      699           
=======================================
+ Hits         8247     8249    +2     
  Misses       2200     2200           
  Partials      157      157           
Flag Coverage Δ
unittests 77.77% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -494,7 +494,7 @@ def get_code_verifier(self):

def generate_code_challenge(self, code_verifier, challenge_method):
method = challenge_method.lower()
if method == "s256":
if method in ["s256", "S256"]:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

„method“ should be lowercase here due to the previous line 496. Why would this change be needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right. Removed this change.

@nijel nijel linked an issue Jan 31, 2024 that may be closed by this pull request
@nijel nijel self-assigned this Jan 31, 2024
@nijel nijel merged commit 4bb29b1 into python-social-auth:master Jan 31, 2024
9 checks passed
@nijel
Copy link
Member

nijel commented Jan 31, 2024

Merged, thanks for your contribution!

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.

bugs: Etsy OAuth2 Authentication
3 participants