mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-13 12:26:29 +00:00
Document supervisor /auth GET method (#767)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
c72638907f
commit
7f9f3dd4aa
@ -624,6 +624,12 @@ Set the output volume for a specific application
|
||||
|
||||
### Auth
|
||||
|
||||
<ApiEndpoint path="/auth" method="get">
|
||||
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.
|
||||
</ApiEndpoint>
|
||||
|
||||
<ApiEndpoint path="/auth" method="post">
|
||||
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user