Authentication state
GET
/auth/statePublic: no authentication needed
Responses
200OKAuthState
modestringsetupRequiredbooleanauthenticatedboolean
Request
curl "http://localhost:8080/api/v1/auth/state"const response = await fetch('http://localhost:8080/api/v1/auth/state', {});const data = await response.json();import requests
response = requests.get( "http://localhost:8080/api/v1/auth/state",)response.raise_for_status()print(response.json())Response
200
{ "mode": "password", "setupRequired": true, "authenticated": true}