Skip to content

Authentication configurations

Anika Weinmann edited this page Aug 25, 2023 · 5 revisions

By default actinia uses basic authentication, but you can also disable authentication in the configuration file for the whole actinia API or use OAuth2 e.g. to connect to Keycloak.

Disable authentication

To disable the authentication for the whole actinia API in the actinia configuration file the authentication in the section API has to be set to False. By default it is set to True.

[API]
authentication = False

OAuth2 / Keycloak configuration

Actinia can also verify the Keycloak token. For this a KEYCLOAK section has to be added to the actinia configuration:

[KEYCLOAK]
config_path = /etc/default/keycloak.json
group_prefix = /actinia-user/

where the config_path is the file to the Keycloak OIDC JSON from the actinia client in Keykloak.

Clone this wiki locally