REST API

Authentication

Updated: October 14, 2024

The request authentication depends on the configured authentication chain. The default authentication chain for the REST API includes:

  • Basic
  • Token
  • JWT
  • Bearer Token

Basic Authentication

Authenticate with Base64-encoded credentials:

GET https://NUXEO_SERVER/nuxeo/api/v1/id/DOC_ID
Authorization: Basic BASE_64_CREDENTIALS

Token Authentication

Authenticate with a Nuxeo login token:

GET https://NUXEO_SERVER/nuxeo/api/v1/id/DOC_ID
X-Authentication-Token: NUXEO_TOKEN

JWT Authentication

Authenticate with a JWT token:

GET https://NUXEO_SERVER/nuxeo/api/v1/id/DOC_ID
Authorization: Bearer JWT_TOKEN

OAuth 2.0 Access Token Authentication

Authenticate with an OAuth 2.0 access token:

GET https://NUXEO_SERVER/nuxeo/api/v1/id/DOC_ID
Authorization: Bearer OAUTH2_TOKEN