Skip to main content

Authenticate request

GET 

https://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​

Authentication Accepted (no response body, different headers depending on auth method)

Response Headers
    remote-user

    Authenticated username or "viewer" in proxy-only mode

    remote-role

    Resolved role (e.g., admin, viewer, or custom)

    Set-Cookie

    May include refreshed JWT cookie ("frigate-token") when applicable

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"))
Request Collapse all
Base URL
https://demo.frigate.video/api
ResponseClear

Click the Send API Request button above and see the response here!