Skip to content

Commit

Permalink
Merge pull request #169 from tehkillerbee/fix/token_type
Browse files Browse the repository at this point in the history
Explicitly set token type when using pkce auth.
  • Loading branch information
tehkillerbee authored Apr 2, 2024
2 parents e2aa9de + d8af1b0 commit f413e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mopidy_tidal/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def _web_auth_callback(self, url_redirect: str):
str, Union[str, int]
] = self._active_session.pkce_get_auth_token(url_redirect)
# Parse and set tokens.
self._active_session.process_auth_token(json)
self._active_session.process_auth_token(json, is_pkce_token=True)
self._logged_in = True
except:
raise ValueError("Response code is required for PKCE login!")
Expand Down

0 comments on commit f413e3f

Please sign in to comment.