Authenticate your backend
POST/oauth/token
Use this endpoint to get a medium-lived JWT access token for your backend to perform calls the Server API exposed by Nabla. See [/authentication] for details on how to construct the client assertion.
Requestโ
- application/json
Body
required
grant_type stringrequired
This endpoint only supports the 'client_credentials' value.
client_assertion_type stringrequired
This endpoint only supports the 'urn:ietf:params:oauth:client-assertion-type:jwt-bearer' value.
client_assertion stringrequired
A short-lived JWT assertion that serves to authenticate this request.
Responsesโ
- 200
A JWT access token that can be used to access the server API.
- application/json
- Schema
- Example (from schema)
Schema
access_token jwt_token (string)required
An authentication token using the JWT serialization format. JWT tokens contain varying data (depending on their intended use) and use a signature to guarantee their authenticity.
expires_in integerrequired
The lifetime of the access token, in seconds.
{
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0eXBlIjoiYWNjZXNzIiwic3ViIjoiMTIzNDU2Nzg5MCIsIm5hbWUiOiJKb2huIERvZSIsImlhdCI6MTUxNjIzOTAyMn0.v5qdy8w9Ygs5fdic9a1LuX76PUdx3omYd5GlDTAF3Ug",
"expires_in": 0
}
Loading...