This repository has been archived on 2026-09-13. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
BPOS-TMP-REPO/apps/web/public/silent-check-sso.html

15 lines
478 B
HTML

<!DOCTYPE html>
<!--
Keycloak 静默 SSO 探测的落点页(keycloak-frontend-guide §5):
keycloak-js 开隐藏 iframe 指向 Keycloak,判完会话把 iframe 重定向回本页,
本页用 postMessage 把结果传回父窗口。整个过程用户看不见。
**必须在 public 根目录**,构建后能通过 /silent-check-sso.html 直接访问。
-->
<html>
<body>
<script>
parent.postMessage(location.href, location.origin);
</script>
</body>
</html>