From e7d70b8326b11b4b7c8d493de7ff0ecf30ad2ed7 Mon Sep 17 00:00:00 2001
From: Matthew Strasiotto <39424834+matthewstrasiotto@users.noreply.github.com>
Date: Mon, 30 May 2022 05:06:21 +1000
Subject: [PATCH] lazy provider linking frontend
Use ApiClient.getUrl to get base urls for links
Per
https://github.com/9p4/jellyfin-plugin-sso/pull/34#discussion_r885060442
---
SSO-Auth/Api/SSOController.cs | 20 +++++++++++++
SSO-Auth/Config/linking.html | 54 +++++++++++++++++++++++++++++++++++
SSO-Auth/Config/linking.js | 46 +++++++++++++++++++++++++++++
SSO-Auth/SSO-Auth.csproj | 3 ++
SSO-Auth/SSOPlugin.cs | 10 +++++++
5 files changed, 133 insertions(+)
create mode 100644 SSO-Auth/Config/linking.html
create mode 100644 SSO-Auth/Config/linking.js
diff --git a/SSO-Auth/Api/SSOController.cs b/SSO-Auth/Api/SSOController.cs
index 0c203bc..4da3876 100644
--- a/SSO-Auth/Api/SSOController.cs
+++ b/SSO-Auth/Api/SSOController.cs
@@ -306,6 +306,26 @@ public class SSOController : ControllerBase
return Ok(SSOPlugin.Instance.Configuration.OidConfigs);
}
+ ///