Skip to content

Commit

Permalink
fix: update descope api (#111)
Browse files Browse the repository at this point in the history
leftovers from Descope v1 update
  • Loading branch information
omercnet authored Feb 19, 2023
1 parent de3a8e8 commit 505c6ce
Show file tree
Hide file tree
Showing 5 changed files with 582 additions and 406 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ jobs:
exclude:
- python-version: "3.7"
django-version: "main"
- python-version: "3.8"
django-version: "main"
- python-version: "3.9"
django-version: "main"
- python-version: "3.10"
django-version: "2.2"

Expand Down
2 changes: 1 addition & 1 deletion django_descope/authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def authenticate(self, request: HttpRequest):
refresh_token = request.COOKIES.get(REFRESH_SESSION_COOKIE_NAME)

try:
validated_token = self._dclient.validate_session_request(
validated_token = self._dclient.validate_and_refresh_session(
access_token, refresh_token
)
except AuthException:
Expand Down
Loading

0 comments on commit 505c6ce

Please sign in to comment.