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 a user

POST 

/jwt/authenticate/:user_id

Use this endpoint to get JWT tokens to authenticate a user with the Nabla Core API. These tokens only gives access to resources for the specified user. This endpoint should typically be called by your backend on behalf of an authenticated user, and the resulting JWT tokens should be forwarded to the user's frontend securely.

Requestโ€‹

Path Parameters

    user_id uuidrequired

    The unique identifier of the user.

Responsesโ€‹

Tokens.

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.

    refresh_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.

Loading...