From 7f9f3dd4aa8caf7228e28d11881041d8485f94a8 Mon Sep 17 00:00:00 2001 From: Sergio Oller Date: Fri, 8 Jan 2021 14:26:23 +0100 Subject: [PATCH] Document supervisor /auth GET method (#767) Co-authored-by: Franck Nijhof --- docs/api/supervisor/endpoints.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/api/supervisor/endpoints.md b/docs/api/supervisor/endpoints.md index a0295157..61f87e36 100644 --- a/docs/api/supervisor/endpoints.md +++ b/docs/api/supervisor/endpoints.md @@ -624,6 +624,12 @@ Set the output volume for a specific application ### Auth + +You can do authentication against Home Assistant Core using Basic Authentication. +Use the `X-Supervisor-Token` header to provide the Supervisor authentication token. +See the corresponding POST method to provide JSON or urlencoded credentials. + + You can do authentication against Home Assistant Core. You can POST the data as JSON, as urlencoded (with `application/x-www-form-urlencoded` header) or by using use basic authentication.