Retrieve a JWT from a client's credentials

Retrieves a JWT from a client's credentials.

Request

request body
client_idstringOptionalformat: "^[0-9a-f]{24}$"
String representation of a MongoDB ObjectId
client_secretstringOptional
Uuid representation of client secret
grant_typeenumOptional
Allowed values:

Response

result
access_tokenstring
The JWT providing the user access to IAP
token_typeenum
The type of token provided
Allowed values:
expires_inenum
The amount of time until the JWT expires
Allowed values:

Errors

500
Internal Server Error