Add vlogs OIDC application and provider #40

Merged
benvin merged 1 commits from benvin/vlogs-oidc into main 2026-09-27 11:20:37 +10:00
3 changed files with 25 additions and 0 deletions
Showing only changes of commit b3c08369fd - Show all commits
+3
View File
@@ -0,0 +1,3 @@
# Permission group akP-vlogs-admin (name = filename). Grants admin
# access to vlogs: bound to the vlogs application, gating the VictoriaLogs UI.
application: vlogs
+21
View File
@@ -0,0 +1,21 @@
# OAuth2/OIDC provider + application for vlogs (the VictoriaLogs query UI,
# served at https://vlogs.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-vlogs-admin).
# client_secret is read from Vault (seeded out of band), never committed.
name: vlogs
authorization_flow: default-provider-authorization-implicit-consent
invalidation_flow: default-provider-invalidation-flow
client_type: confidential
client_id: vlogs
launch_url: https://vlogs.unkin.net/
client_secret_vault:
mount: kv
path: kubernetes/namespace/logging/default/vlogs-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://vlogs.unkin.net/oauth2/callback
+1
View File
@@ -9,6 +9,7 @@ permissions:
- akP-jellyfin-admin
- akP-traefik-admin
- akP-logviewer-admin
- akP-vlogs-admin
- akP-watchstate-admin
- akP-repospawner-admin
- akP-vault-admin