You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(push,cdr): honor Receiver.raw_token and add CdrLocation.evse_uid
Two OCPI compliance/interop fixes needed for CDR push to eMSPs that do
not base64-decode the auth token (e.g. DepotCharge):
- push_object now sends the raw auth token when Receiver.raw_token=True,
instead of always base64-encoding for 2.2.x/2.3.x. Some eMSPs compare
the literal Token header value, so a base64-encoded token is rejected
with 401 "Unknown token".
- CdrLocation (2.2.1 and 2.3.0) now includes the spec-required evse_uid
field. It was missing, so the lib silently dropped evse_uid from the
serialized CDR, causing receivers to reject the push with 400.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments