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

Update authlib to 0.9 #1827

Merged
merged 2 commits into from Aug 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Expand Up @@ -17,7 +17,7 @@ None

### Internal

- Upgrade to Authlib 0.8 [#1760](https://github.com/opendatateam/udata/pull/1760)
- Upgrade to Authlib 0.9 [#1760](https://github.com/opendatateam/udata/pull/1760) [#1827](https://github.com/opendatateam/udata/pull/1827)

## 1.5.2 (2018-08-08)

Expand Down
2 changes: 1 addition & 1 deletion requirements/install.pip
@@ -1,5 +1,5 @@
awesome-slugify==1.6.5
authlib==0.8
authlib==0.9
bleach==2.1.3
blinker==1.4
celery==4.1.1
Expand Down
4 changes: 0 additions & 4 deletions udata/api/oauth2.py
Expand Up @@ -334,10 +334,6 @@ def check_credentials():
def init_app(app):
oauth.init_app(app, query_client=query_client, save_token=save_token)

# Temp fix for https://github.com/lepture/authlib/issues/79
from authlib.specs.rfc6749.authenticate_client import ClientAuthentication
oauth.authenticate_client = ClientAuthentication(query_client)

# support all grants
oauth.register_grant(AuthorizationCodeGrant)
oauth.register_grant(PasswordGrant)
Expand Down