Merge pull request 'Add logviewer OAuth2 provider/application and akP-logviewer-admin permission' (#21) from benvin/logviewer-oidc into main
ci/woodpecker/push/apply Pipeline failed
ci/woodpecker/push/apply Pipeline failed
Reviewed-on: #21
This commit was merged in pull request #21.
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
# Permission group akP-logviewer-admin (name = filename). Grants admin
|
||||||
|
# access to logviewer: bound to the logviewer application, gating the log UI.
|
||||||
|
application: logviewer
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
# OAuth2/OIDC provider + application for logviewer (the ClickHouse log UI,
|
||||||
|
# served at https://logviewer.unkin.net in the logging namespace). An
|
||||||
|
# oauth2-proxy in front of the UI performs the OIDC login; access is gated on
|
||||||
|
# the user's hierarchical ak_groups claim (akP-logviewer-admin).
|
||||||
|
# client_secret is read from Vault (seeded out of band), never committed.
|
||||||
|
name: logviewer
|
||||||
|
authorization_flow: default-provider-authorization-implicit-consent
|
||||||
|
invalidation_flow: default-provider-invalidation-flow
|
||||||
|
client_type: confidential
|
||||||
|
client_id: logviewer
|
||||||
|
launch_url: https://logviewer.unkin.net/
|
||||||
|
client_secret_vault:
|
||||||
|
mount: kv
|
||||||
|
path: kubernetes/namespace/logging/default/oauth-credentials
|
||||||
|
scope_mappings:
|
||||||
|
- goauthentik.io/providers/oauth2/scope-openid
|
||||||
|
- goauthentik.io/providers/oauth2/scope-email
|
||||||
|
- goauthentik.io/providers/oauth2/scope-profile
|
||||||
|
redirect_uris:
|
||||||
|
- matching_mode: strict
|
||||||
|
url: https://logviewer.unkin.net/oauth2/callback
|
||||||
@@ -6,6 +6,7 @@ permissions:
|
|||||||
- akP-litellm-admin
|
- akP-litellm-admin
|
||||||
- akP-jellyfin-admin
|
- akP-jellyfin-admin
|
||||||
- akP-traefik-admin
|
- akP-traefik-admin
|
||||||
|
- akP-logviewer-admin
|
||||||
# arrstack has no admin tier (it is a proxy front door); grant global admins
|
# arrstack has no admin tier (it is a proxy front door); grant global admins
|
||||||
# the front door plus every per-app entitlement so they reach all media apps.
|
# the front door plus every per-app entitlement so they reach all media apps.
|
||||||
- akP-arrstack-user
|
- akP-arrstack-user
|
||||||
|
|||||||
Reference in New Issue
Block a user