Files
ocis/services/auth-machine/_index.md
T
Thomas Mülleranddependabot[bot] 2989094319 chore(deps): bump amd64/alpine and arm64/alping from 3.20 to 3.23 in /ocis/docker (#11958)
* chore(deps): bump arm64v8/alpine from 3.20 to 3.23 in /ocis/docker

Bumps arm64v8/alpine from 3.20 to 3.23.

---
updated-dependencies:
- dependency-name: arm64v8/alpine
  dependency-version: '3.23'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump amd64/alpine from 3.20 to 3.23 in /ocis/docker

Bumps amd64/alpine from 3.20 to 3.23.

---
updated-dependencies:
- dependency-name: amd64/alpine
  dependency-version: '3.23'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-04 01:07:50 +00:00

1.8 KiB
Executable File

title, date, weight, geekdocRepo, geekdocEditPath, geekdocFilePath, geekdocCollapseSection
title date weight geekdocRepo geekdocEditPath geekdocFilePath geekdocCollapseSection
Auth-Machine 2026-02-04T01:07:20.406384545Z 20 https://github.com/owncloud/ocis edit/master/services/auth-machine README.md true

Abstract

The oCIS Auth Machine is used for interservice communication when using user impersonation.

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-app handles authentication of external 3rd party apps
  • auth-basic handles basic authentication
  • auth-bearer handles oidc authentication
  • auth-machine handles interservice authentication when a user is impersonated
  • auth-service handles interservice authentication when using service accounts

Table of Contents

User Impersonation

When one ocis service is trying to talk to other ocis services, it needs to authenticate itself. To do so, it will impersonate a user using the auth-machine service. It will then act on behalf of this user. Any action will show up as action of this specific user, which gets visible when e.g. logged in the audit log.

Deprecation

With the upcoming auth-service service, the auth-machine service will be used less frequently and is probably a candidate for deprecation.

Example Yaml Config

{{< include file="services/_includes/auth-machine-config-example.yaml" language="yaml" >}}

{{< include file="services/_includes/auth-machine_configvars.md" >}}