Skip to content

Instantly share code, notes, and snippets.

API Authentication

There are two methods of authentication when using the Humhub API.

  1. HTTP Basic Authentication (this must be enabled in the REST API Module settings)
  2. JSON Web Tokens (JWT)

The examples below use cURL for sending requests to your server. Hopefully, these concepts can be applied to whatever method or language you use.

HTTP Basic Authentication