cURL
curl --request GET \ --url http://localhost:8080/api/session/is-auth-enabled
{ "is_auth_enabled": true, "has_valid_token": true }
Checks if authentication is enabled and if the current session has a valid token.
Authentication status
Whether authentication is enabled
Whether the current request has a valid authentication token
Was this page helpful?