-
Notifications
You must be signed in to change notification settings - Fork 219
Closed
Description
https://github.com/box/box-python-sdk/blob/master/boxsdk/auth/jwt_auth.py#L195
Callers of this method are expecting a tuple of (access_token, refresh_token), not just access_token. This breaks downstream in https://github.com/box/box-python-sdk/blob/master/boxsdk/session/box_session.py#L196, causing clients which use JWTAuth to break on refresh.
Example:
File "/usr/local/lib/python3.4/dist-packages/boxsdk/session/box_session.py", line 196, in _renew_session
new_access_token, _ = self._oauth.refresh(access_token_used)
ValueError: too many values to unpack (expected 2)
Version: 2.0.0a4
maxdebayser, cschloer and dann815
Metadata
Metadata
Assignees
Labels
No labels