From 67f825293bdafbf96d785aa54d3894bfe6bcaa50 Mon Sep 17 00:00:00 2001
From: xinyangli <lixinyang411@gmail.com>
Date: Tue, 4 Mar 2025 23:07:05 +0800
Subject: [PATCH] biotite/matrix-synapse: fix idp url

---
 machines/biotite/services/synapse.nix | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/machines/biotite/services/synapse.nix b/machines/biotite/services/synapse.nix
index 72e7516..84fe5cb 100644
--- a/machines/biotite/services/synapse.nix
+++ b/machines/biotite/services/synapse.nix
@@ -86,7 +86,7 @@ in
         {
           idp_id = "Kanidm";
           idp_name = idpUrl;
-          issuer = "${idpUrl}/oauth2/openid/synapse";
+          issuer = "https://${idpUrl}/oauth2/openid/synapse";
           authorization_endpoint = "https://${idpUrl}/ui/oauth2";
           token_endpoint = "https://${idpUrl}/oauth2/token";
           userinfo_endpoint = "https://${idpUrl}/oauth2/openid/synapse/userinfo";