diff --git a/docs/api.md b/docs/api.md index 2805c04d..380a7041 100644 --- a/docs/api.md +++ b/docs/api.md @@ -80,6 +80,26 @@ There are two options here: 3. The handle `POST /api/auth/logout` can be used to invalidate session token. The response codes will be similar to the previous handle. + +### Session-based login using HTML form + +You can submit PiKVM credentials from another site and go directly to the KVM page by passing the redirect parameter as follows: + +```html + +
+ + + +``` + + ----- ## WebSocket events @@ -1929,4 +1949,4 @@ The `GET /api/export/prometheus/metrics` handle returns the Prometheus metrics. ```console $ curl -k -u admin:admin https://