We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
jwt.encode
ProtectedHeader
dict
1 parent 900f0ee commit b680757Copy full SHA for b680757
src/a2a/utils/signing.py
@@ -75,7 +75,7 @@ def agent_card_signer(agent_card: AgentCard) -> AgentCard:
75
payload=payload_dict,
76
key=signing_key,
77
algorithm=protected_header.get('alg', 'HS256'),
78
- headers=protected_header,
+ headers=dict(protected_header),
79
)
80
81
# The result of jwt.encode is a compact serialization: HEADER.PAYLOAD.SIGNATURE
0 commit comments