Add oidc freshrss

This commit is contained in:
Ruben Hensen
2026-04-10 20:49:11 +02:00
parent dc85d89904
commit 428f14efc1
5 changed files with 106 additions and 1 deletions
+40
View File
@@ -0,0 +1,40 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: authentik-blueprint-freshrss
data:
freshrss-oidc.yaml: |
version: 1
metadata:
name: FreshRSS OIDC
entries:
- model: authentik_providers_oauth2.oauth2provider
id: freshrss-provider
state: present
identifiers:
name: FreshRSS
attrs:
name: FreshRSS
authorization_flow: !Find [authentik_flows.flow, [slug, default-provider-authorization-implicit-consent]]
authentication_flow: !Find [authentik_flows.flow, [slug, default-authentication-flow]]
invalidation_flow: !Find [authentik_flows.flow, [slug, default-provider-invalidation-flow]]
client_type: confidential
client_id: freshrss
client_secret: !Env [FRESHRSS_OIDC_CLIENT_SECRET, ""]
redirect_uris:
- matching_mode: strict
url: https://rss.rubenhensen.nl/i/oidc/
signing_key: !Find [authentik_crypto.certificatekeypair, [name, "authentik Self-signed Certificate"]]
property_mappings:
- !Find [authentik_providers_oauth2.scopemapping, [managed, goauthentik.io/providers/oauth2/scope-openid]]
- !Find [authentik_providers_oauth2.scopemapping, [managed, goauthentik.io/providers/oauth2/scope-email]]
- !Find [authentik_providers_oauth2.scopemapping, [managed, goauthentik.io/providers/oauth2/scope-profile]]
- model: authentik_core.application
id: freshrss-app
state: present
identifiers:
slug: freshrss
attrs:
name: FreshRSS
provider: !KeyOf freshrss-provider
meta_launch_url: https://rss.rubenhensen.nl
+18
View File
@@ -99,3 +99,21 @@ spec:
remoteRef:
key: kv/argocd-oidc
property: client_secret
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: freshrss-oidc-client-secret
spec:
secretStoreRef:
name: vault-backend
kind: ClusterSecretStore
refreshInterval: 15m
target:
name: freshrss-oidc-client-secret
creationPolicy: Owner
data:
- secretKey: client_secret
remoteRef:
key: kv/freshrss-oidc
property: client_secret