Merge pull request 'Add vlogs OIDC application and provider' (#40) from benvin/vlogs-oidc into main
ci/woodpecker/push/apply Pipeline was successful
ci/woodpecker/push/apply Pipeline was successful
Reviewed-on: #40
This commit was merged in pull request #40.
This commit is contained in:
@@ -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
|
||||||
@@ -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
|
||||||
@@ -9,6 +9,7 @@ permissions:
|
|||||||
- akP-jellyfin-admin
|
- akP-jellyfin-admin
|
||||||
- akP-traefik-admin
|
- akP-traefik-admin
|
||||||
- akP-logviewer-admin
|
- akP-logviewer-admin
|
||||||
|
- akP-vlogs-admin
|
||||||
- akP-watchstate-admin
|
- akP-watchstate-admin
|
||||||
- akP-repospawner-admin
|
- akP-repospawner-admin
|
||||||
- akP-vault-admin
|
- akP-vault-admin
|
||||||
|
|||||||
Reference in New Issue
Block a user