Skip to content

Commit

Permalink
Fix missing_token for Flask client
Browse files Browse the repository at this point in the history
This may fix lepture/authlib#448
  • Loading branch information
coopfeathy committed Apr 6, 2022
1 parent c05da52 commit 6a8c957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authlib/integrations/base_client/sync_app.py
Expand Up @@ -79,7 +79,7 @@ def _send_token_request(self, session, method, url, token, kwargs):
if withhold_token:
return session.request(method, url, **kwargs)

if token is None and self._fetch_token:
if token is None:
token = self._get_requested_token(request)

if token is None:
Expand Down

0 comments on commit 6a8c957

Please sign in to comment.