From 1e6d3df52c7b61939ddc7ac918fb793c5e2dbc5b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Felix=20Schr=C3=B6ter?= <dev@felschr.com>
Date: Sun, 14 Jan 2024 16:39:30 +0100
Subject: [PATCH] feat(authelia): add Jellyfin OIDC

---
 services/authelia.nix | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/services/authelia.nix b/services/authelia.nix
index de11f5d..16cb09f 100644
--- a/services/authelia.nix
+++ b/services/authelia.nix
@@ -139,6 +139,16 @@ in {
           authorization_policy = "one_factor";
           scopes = [ "openid" "email" "profile" ];
         }
+        {
+          id = "jellyfin";
+          description = "Jellyfin";
+          secret = ''
+            $pbkdf2-sha512$310000$X7amOzLsURvZSwdLmSstlQ$/WK4lZ9KvEEuotOxUJkeTo0ZAa.rD7VVdkAPFcUQmr2WzkCXmXXJbYYy7vx0hc4nqLgBVeo8q/71R3rvfl9BF
+            Q'';
+          redirect_uris =
+            [ "https://media.felschr.com/sso/OID/redirect/Authelia" ];
+          scopes = [ "openid" "email" "profile" ];
+        }
       ];
     };
   };