Protect Transmission with Authentik proxy application
This commit is contained in:
1 parent
0b4805dbb7
commit
6241c013ac
1 file changed
+44
@@ -261,6 +261,50 @@ additionalObjects:
|
||||
order: 0
|
||||
attrs:
|
||||
enabled: true
|
||||
transmission.yaml: |
|
||||
version: 1
|
||||
metadata:
|
||||
name: Transmission forward authentication
|
||||
labels:
|
||||
blueprints.goauthentik.io/description: Admin-only access to Transmission
|
||||
entries:
|
||||
- model: authentik_providers_proxy.proxyprovider
|
||||
id: transmission-provider
|
||||
state: present
|
||||
identifiers:
|
||||
name: Transmission
|
||||
attrs:
|
||||
authorization_flow: !Find [authentik_flows.flow, [slug, default-provider-authorization-explicit-consent]]
|
||||
invalidation_flow: !Find [authentik_flows.flow, [slug, default-provider-invalidation-flow]]
|
||||
client_type: confidential
|
||||
grant_types:
|
||||
- authorization_code
|
||||
- refresh_token
|
||||
mode: forward_single
|
||||
internal_host: ""
|
||||
external_host: https://transmission.brunner.ninja
|
||||
property_mappings:
|
||||
- !Find [authentik_providers_oauth2.scopemapping, [managed, goauthentik.io/providers/proxy/scope-proxy]]
|
||||
- !Find [authentik_providers_oauth2.scopemapping, [scope_name, openid]]
|
||||
- !Find [authentik_providers_oauth2.scopemapping, [scope_name, profile]]
|
||||
- !Find [authentik_providers_oauth2.scopemapping, [scope_name, email]]
|
||||
- model: authentik_core.application
|
||||
id: transmission-application
|
||||
state: present
|
||||
identifiers:
|
||||
slug: transmission
|
||||
attrs:
|
||||
name: Transmission
|
||||
provider: !KeyOf transmission-provider
|
||||
launch_url: https://transmission.brunner.ninja
|
||||
- model: authentik_policies.policybinding
|
||||
state: present
|
||||
identifiers:
|
||||
target: !KeyOf transmission-application
|
||||
group: !Find [authentik_core.group, [name, authentik Admins]]
|
||||
order: 0
|
||||
attrs:
|
||||
enabled: true
|
||||
- apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
|
||||
Reference in new issue
Block a user