-
-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
Hello there,
Is it possible for tesla-http-api to accept the X-Authorization header?
EVCC sends this header as authentication when configuring a command proxy: https://github.com/evcc-io/evcc/blob/fe6dfdf838666fe55c9b447b4d395dc7a7bb373d/vehicle/tesla.go#L100
And upon doing so, tesla-http-api returns a 403:
➜ ~ curl -H "X-Authorization: Bearer ****" \
-H "Content-Type: application/json" \
--data "{}" \
-X POST \
-i https://my-domain.com/tesla-http-api/api/1/vehicles/****/command/flash_lights
HTTP/2 403
L480
Metadata
Metadata
Assignees
Labels
No labels