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 #448
  • Loading branch information
lepture committed Apr 6, 2022
1 parent 6058a35 commit b28f037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authlib/integrations/base_client/sync_app.py
Original file line number Diff line number Diff line change
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 b28f037

Please sign in to comment.