Group Based Authorization
Group-based authorization allows to control access to a specific application based on User Group membership. UDS Core is configured to support the following Groups (see User Groups for more details):
Keycloak Group | UDS Group Name | Purpose |
---|---|---|
Admin | /UDS Core/Admin | Defined for Administrators |
Auditor | /UDS Core/Auditor | Defined for regular Users |
Below is an example to configure authorization based on the Admin
(/UDS Core/Admin
) Group:
apiVersion: uds.dev/v1alpha1kind: Packagemetadata: name: httpbin-other namespace: authservice-test-appspec: sso: - name: Demo SSO clientId: uds-core-httpbin redirectUris: - "https://protected.uds.dev/login" enableAuthserviceSelector: app: httpbin groups: anyOf: - "/UDS Core/Admin"