From ac0ec4628d23e63591a79ef4547202eaf85b7d05 Mon Sep 17 00:00:00 2001 From: dominik003 Date: Mon, 5 Aug 2024 11:05:23 +0200 Subject: [PATCH] refactor: Remove unused `audience` configuration --- backend/capellacollab/config/models.py | 1 - docs/docs/admin/authentication/keycloak/index.md | 2 -- helm/config/backend.yaml | 1 - helm/values.yaml | 2 -- 4 files changed, 6 deletions(-) diff --git a/backend/capellacollab/config/models.py b/backend/capellacollab/config/models.py index 39f1d9026..cc89b851e 100644 --- a/backend/capellacollab/config/models.py +++ b/backend/capellacollab/config/models.py @@ -255,7 +255,6 @@ class ClaimMappingConfig(BaseConfig): class AuthenticationConfig(BaseConfig): endpoints: AuthOauthEndpointsConfig = AuthOauthEndpointsConfig() - audience: str = pydantic.Field(default="default") mapping: ClaimMappingConfig = ClaimMappingConfig() scopes: list[str] = pydantic.Field( default=["openid", "profile", "offline_access"], diff --git a/docs/docs/admin/authentication/keycloak/index.md b/docs/docs/admin/authentication/keycloak/index.md index 8e4067719..d34973473 100644 --- a/docs/docs/admin/authentication/keycloak/index.md +++ b/docs/docs/admin/authentication/keycloak/index.md @@ -73,8 +73,6 @@ backend: endpoints: wellKnown: [...]/.well-known/openid-configuration # (1)! - audience: default - claimMapping: # (2)! idpIdentifier: sub username: preferred_username diff --git a/helm/config/backend.yaml b/helm/config/backend.yaml index 3583a31f0..9f957c2a3 100644 --- a/helm/config/backend.yaml +++ b/helm/config/backend.yaml @@ -45,7 +45,6 @@ authentication: endpoints: authorization: "{{ .Values.backend.authentication.endpoints.authorization }}" wellKnown: "{{ .Values.backend.authentication.endpoints.wellKnown }}" - audience: "{{ .Values.backend.authentication.audience }}" mapping: identifier: "{{ .Values.backend.authentication.claimMapping.idpIdentifier }}" username: "{{ .Values.backend.authentication.claimMapping.username }}" diff --git a/helm/values.yaml b/helm/values.yaml index 2e1d17b83..3a53a0c07 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -150,8 +150,6 @@ backend: # - HTTPS: https://localhost/default/authorize authorization: null - audience: default - claimMapping: idpIdentifier: sub username: preferred_username