* ci: enable k8s setup for remaining suites Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com> * ci: use existing servers Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com> * ci: fix Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com> * test: fix tests Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com> * test: increase timeout Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com> * ci: fix mail setup Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com> * test: increase timeout Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com> * ci: fix tika Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com> * test: fix csp directives Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com> * ci: merge ocm provider configs Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com> * test: fix notification tests Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com> * ci: fix script file Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com> * ci: enable ocm server logs Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com> * ci: fix pattern Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com> * ci: fix cluster wait Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com> * ci: run auth-app only when required Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com> * test: fix sharing tests Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com> * test: fix tests Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com> --------- Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2.8 KiB
title, date, weight, geekdocRepo, geekdocEditPath, geekdocFilePath, geekdocCollapseSection
| title | date | weight | geekdocRepo | geekdocEditPath | geekdocFilePath | geekdocCollapseSection |
|---|---|---|---|---|---|---|
| Auth-Basic | 2026-03-12T05:03:26.17486322Z | 20 | https://github.com/owncloud/ocis | edit/master/services/auth-basic | README.md | true |
Abstract
The oCIS Auth Basic service provides basic authentication for those clients who cannot handle OpenID Connect. This should only be enabled for tests and development.
The auth-basic service is responsible for validating authentication of incoming requests. To do so, it will use the configured auth manager, see the Auth Managers section. Only HTTP basic auth requests to ocis will involve the auth-basic service.
To enable auth-basic, you first must set PROXY_ENABLE_BASIC_AUTH to true.
Table of Contents
The auth Service Family
ocis uses serveral authentication services for different use cases. All services that start with auth- are part of the authentication service family. Each member authenticates requests with different scopes. As of now, these services exist:
auth-apphandles authentication of external 3rd party appsauth-basichandles basic authenticationauth-bearerhandles oidc authenticationauth-machinehandles interservice authentication when a user is impersonatedauth-servicehandles interservice authentication when using service accounts
Auth Managers
Since the auth-basic service does not do any validation itself, it needs to be configured with an authentication manager. One can use the AUTH_BASIC_AUTH_MANAGER environment variable to configure this. Currently only one auth manager is supported: "ldap"
LDAP Auth Manager
Setting AUTH_BASIC_AUTH_MANAGER to "ldap" will configure the auth-basic service to use LDAP as auth manager. This is the recommended option for running in a production and testing environment. More details on how to configure LDAP with ocis can be found in the admin docs.
Other Auth Managers
oCIS currently supports no other auth manager
Scalability
When using "ldap" as auth manager, there is no persistance as requests will just be forwarded to the LDAP server. Therefore, multiple instances of the auth-basic service can be started without further configuration. Be aware, that other auth managers might not allow that.
Example Yaml Config
{{< include file="services/_includes/auth-basic-config-example.yaml" language="yaml" >}}
{{< include file="services/_includes/auth-basic_configvars.md" >}}