Skip to main content
๐ŸŽ‰ API version '2024-10-01' just released with many new features. If you are still on an older version, check the migration guide.

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โ€‹

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โ€‹

A JWT access token that can be used to access the server API.

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.

Loading...