To reduce bot traffic you must login to view /gokrazy/internal/src/commit/d5a706e350158e1aa90c6048245fc182ed4998ae/config.
The GitHub login only links via username.

Files
timmy 6af76b7fec Updates
Update config properties
Simplify config
Enforce https
Set defaults in C#
Enforce linking by sub claim
Fail if user is already linked to the provider
Remove OID from urls
2026-06-07 22:07:07 -07:00

93 lines
3.7 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<!-- Polyfill styles that are missing when serving without dashboard -->
<link href="emby-restyle.css" rel="stylesheet" />
<link id="theme-style" rel="stylesheet" />
<script defer>
import("./ApiClient.js").then((_clientModule) => {
import("./linking.js").then((renderer) => {
const view = document.querySelector("#sso-config-page");
document.querySelector("#theme-style").href = ApiClient.getUrl(
"/web/themes/dark/theme.css",
);
const homeButton = document.querySelector("a.emby-button.home");
homeButton.href = ApiClient.serverAddress();
homeButton.style.display = "";
renderer.default(view);
});
});
</script>
<title>SSO Linking</title>
</head>
<body class="force-scroll dashboardDocument mouseIdle">
<div
class="page type-interior pluginConfigurationPage esqConfigurationPage"
data-controller="__plugin/SSO-Auth-linking.js"
data-role="page"
id="sso-config-page">
<div data-role="content">
<div class="content-primary">
<div class="sectionTitleContainer flex align-items-center">
<a class="raised emby-button home" style="display: none">
<span aria-hidden="true" class="material-icons home"></span><span>Home</span>
</a>
<h2 class="sectionTitle">SSO Linking:</h2>
<a
class="raised button-alt headerHelpButton"
href="https://github.com/9p4/jellyfin-plugin-sso"
is="emby-button"
target="_blank">${Help}</a>
</div>
<p>
Use the
<span aria-hidden="true" class="fab">
<span aria-hidden="true" class="material-icons add"></span>
</span>
button to create a new link for the given provider.
<br />
You may remove existing links by selecting them and pressing the
"Delete" button.
</p>
<p>
See the
<a
class="button-link"
href="https://github.com/9p4/jellyfin-plugin-sso"
is="emby-linkbutton">homepage</a>
and
<a
class="button-link"
href="https://github.com/9p4/jellyfin-plugin-sso/issues"
is="emby-linkbutton">issue tracker
</a>
for more information.
</p>
<label class="checkbox-wrapper">
<input id="enable-delete" is="emby-checkbox" type="checkbox" />
<span class="checkbox-label">Enable "Delete" button.</span>
</label>
<h1 class="sectionTitle">Link a provider</h1>
<div class="verticalSection" title="Link a provider">
<h2 class="sectionTitle">OIDC</h2>
<div data-id="oid" id="sso-provider-list-oid"></div>
</div>
<button
class="button-delete raised emby-button"
disabled="true"
id="btn-delete-selected-links"
type="button">
<span aria-hidden="true" class="material-icons delete"></span>
<span>Delete Selected</span>
</button>
</div>
</div>
</div>
</body>
</html>