Skip to content
English
  • There are no suggestions because the search field is empty.

Authenticated health check for the auth integration

GET /health/auth Select code sample Fetch cURL
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 string
Example
{  "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 string
Example generated
{  "additionalProperty": "example"}

503

Section titled “503 ”

Auth integration unavailable

Media type application/json object auth string service string status string timestamp string version string
Example
{  "auth": "verified",  "service": "governance-service",  "status": "healthy",  "version": "1.0.0"}
Previous
Liveness probe
Next
Readiness probe