From d8af1b0daeafc0b08fe242c4e64e310f78290933 Mon Sep 17 00:00:00 2001 From: tehkillerbee Date: Tue, 2 Apr 2024 07:22:59 +0200 Subject: [PATCH] Explicitly set token type when using pkce auth. --- mopidy_tidal/backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mopidy_tidal/backend.py b/mopidy_tidal/backend.py index 554c5a2..97906de 100755 --- a/mopidy_tidal/backend.py +++ b/mopidy_tidal/backend.py @@ -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!")