Auth

Auth Token

post

Generate JWT token for authentication

Body

Request body for authentication

usernamestringRequiredDefault: ""
passwordstringRequiredDefault: ""
client_idstringRequiredDefault: pdc-client
grant_typestringRequiredDefault: password
scopestringRequiredDefault: openid profile email
Responses
200

Default Response

application/json
post
/api/public/v1/auth
POST /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