Authenticated health check for the auth integration
GET /health/auth Select code sample Fetch cURL
Liveness probe Next
Readiness probe
const url = 'https://localhost:10001/health/auth';const options = {method: 'GET', headers: {Authorization: '
'}}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}
curl --request GET \ --url https://localhost:10001/health/auth \ --header 'Authorization:
'
Health check requiring a valid bearer token that confirms the end-to-end auth path by validating the token through the auth service and resolving the caller’s user context
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”200
Section titled “200 ”Auth integration verified
Media type application/json object auth string service string status string timestamp string version stringExample
{ "auth": "verified", "service": "governance-service", "status": "healthy", "version": "1.0.0"}
401
Section titled “401 ”Unauthorized - Invalid or expired token
Media type application/json object key additional properties stringExample generated
{ "additionalProperty": "example"}
503
Section titled “503 ”Auth integration unavailable
Media type application/json object auth string service string status string timestamp string version stringExample
{ "auth": "verified", "service": "governance-service", "status": "healthy", "version": "1.0.0"}
Previous Liveness probe Next
Readiness probe