If client secret is invalid, refresh_access_token() throws a KeyError while trying to access the data key "access_token", because the response status code 403 is handled correctly.
Implementation:
handle invalid client secret response in refresh_access_token()
If client secret is invalid, refresh_access_token() throws a KeyError while trying to access the data key "access_token", because the response status code 403 is handled correctly.
Implementation: