Files
ladill-hosting/resources/views/auth/sso-logout-bridge.blade.php
isaaccladandCursor fedd01cdde
Deploy Ladill Hosting / deploy (push) Successful in 34s
Keep the app subdomain visible during Ladill SSO login and logout.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-09 12:15:37 +00:00

27 lines
1021 B
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Signing out…</title>
@include('partials.favicon')
<meta name="robots" content="noindex">
<style>
body { font-family: system-ui, sans-serif; display: flex; min-height: 100vh; align-items: center; justify-content: center; margin: 0; background: #f8fafc; color: #334155; }
</style>
</head>
<body>
<p>Signing you out of Ladill…</p>
<iframe src="{{ $hubUrl }}" hidden width="0" height="0" title=""></iframe>
<script>
window.addEventListener('message', function (event) {
if (event.origin !== @json($authOrigin)) return;
if (event.data && event.data.type === 'ladill:logout:done' && event.data.return) {
window.location.replace(event.data.return);
}
});
setTimeout(function () { window.location.replace(@json($return)); }, 5000);
</script>
</body>
</html>