-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
requests_oauth2clientversion: head- Python version: 3.12.8
- Operating System: macOS
Description
Hi again! I tried to use BearerTokenSerializer to serialize a DPoPToken, and it seemed to serialize ok, but deserializing raised UnsupportedTokenType: Unsupported token_type: DPoP:
requests_oauth2client/requests_oauth2client/tokens.py
Lines 297 to 298 in 56b93c9
| if token_type.title() != self.TOKEN_TYPE.title(): | |
| raise UnsupportedTokenType(token_type) |
So, looks like we need a DPoPTokenSerializer? Happy to whip up a PR for that, should hopefully be a pretty minimal subclass of BearerTokenSerializer.
Metadata
Metadata
Assignees
Labels
No labels