How to authenticate with the Sedna API

Sedna supports two styles of authentication.

We recommend everyone to use the OAuth2.0 client_credentials workflow, but if one wishes, a simpler, basic auth based method is also available.

OAuth 2.0

The recommended approach is to use OAuth2.0 client credential flow. In order to do this, first create API Credentials in the Sedna API-Management settings page, then use these credentials to get an authentication token from the oauth/token endpoint.

With the resulting JWT you can access the API for 1 hour, after which you will have to get a new token again.

Basic Auth

In order to use basic auth, simply use the client_id and Client_secret from the API Credentials as Basic Auth username and password respectively.