Auth
Generate JWT token for authentication
Body
Request body for authentication
usernamestringRequiredDefault:
""passwordstringRequiredDefault:
""client_idstringRequiredDefault:
pdc-clientgrant_typestringRequiredDefault:
passwordscopestringRequiredDefault:
openid profile emailResponses
200
Default Response
application/json
400
Bad Request
application/json
401
Unauthorized - The request requires a valid Bearer token.
To access this endpoint:
1. Make a POST request to /api/public/v1/auth with valid credentials to obtain the access token.
2. Click the "Authorize" button in the Swagger UI and enter the token.
3. All protected endpoints require the Authorization header: "Authorization: 'Bearer your-access-token'"
application/json
500
Internal Server Error
application/json
503
Service Unavailable — Connection Refused
application/json
post
/api/public/v1/authPOST /api/public/v1/auth HTTP/1.1
Host: hostname
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 109
"username=''&password=''&client_id='pdc-client'&grant_type='password'&scope='openid profile email'"{
"message": "OK",
"data": {
"accessToken": "text"
}
}Last updated

