Authenticate request
GEThttps://demo.frigate.video/api/auth
Authenticates the current request based on proxy headers or JWT token. This endpoint verifies authentication credentials and manages JWT token refresh. On success, no JSON body is returned; authentication state is communicated via response headers and cookies.
Responses​
- 202
- 401
Authentication Accepted (no response body, different headers depending on auth method)
Response Headers
Authentication Failed
- python
- nodejs
- javascript
- curl
- rust
- HTTP.CLIENT
- REQUESTS
import http.client
conn = http.client.HTTPSConnection("demo.frigate.video")
payload = ''
headers = {}
conn.request("GET", "/api/auth", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
ResponseClear