Connect

Authentication

Discover how to authenticate Directus Connect requests using authorization headers, session cookies, or query parameters.

While the Public role can be configured to make data available without authentication, anything that is not public requires a user to authenticate their requests.

Each user can have a single Static Tokens that does not expire (though can be regenerated). Standard and Session Tokens are returned after a user logs in, are short lived, and need refreshing.

Requests can be authenticated in the following ways:

Add the following header: Authorization: Bearer <token>.

Learn more about using authentication tokens and cookies.

Get once-a-month release notes & real‑world code tips...no fluff. 🐰