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

OAuthClient_to_OAuth2Client #59

Conversation

dvenckusuchgo
Copy link

Description about what this pull request does.

Please make sure to follow the DEV guidelines before asking for review.

New Features

  • Implemented XXX

Breaking Changes

Bug Fixes

Replace references to OAuthClient (doesn't exist) with OAuth2Client (new name)

Improvements

Dependency updates

Deployment changes

@@ -1,4 +1,4 @@
from authlib.client import OAuthClient
from authlib.oauth2.client import OAuth2Client
Copy link
Contributor

Choose a reason for hiding this comment

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

thanks for the contribution 🙂 how did you run into this issue? the current code seems to be working fine in our services

Copy link
Author

Choose a reason for hiding this comment

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

chicagopcdc/amanuensis imports authutils and authlib. I was attempting to upgrade to newer releases and encountered the error because 'OAuthClient' doesn't exist in more recent releases of authlib. I checked 0.15.3 and 0.15.5 specifically.

@paulineribeyre
Copy link
Contributor

Hey @dvenckusuchgo, thank you for the catch and fix! I created PR #60 to add a unit test and maintain backwards compatibility for code that imports authutils.oauth2.client.OAuthClient

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

Successfully merging this pull request may close these issues.

2 participants