singleloginsystem/resources/views/saml/post_response.blade.php
= 4849736c60 Feat: add intials SAML SSO compatibility.
- SAML public certificate generation
- Authentication using SAML
2026-05-27 05:49:36 +00:00

86 lines
2.7 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Redirecting to {{ $appName }}...</title>
<style>
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background-color: #0f172a;
color: #f8fafc;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
}
.container {
text-align: center;
max-width: 480px;
padding: 2.5rem;
background-color: #1e293b;
border-radius: 1rem;
box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.5), 0 8px 10px -6px rgb(0 0 0 / 0.5);
border: 1px solid #334155;
}
h2 {
margin-top: 0;
font-size: 1.5rem;
font-weight: 600;
color: #38bdf8;
}
p {
color: #94a3b8;
font-size: 0.95rem;
margin-bottom: 2rem;
line-height: 1.5;
}
.spinner {
display: inline-block;
width: 2.5rem;
height: 2.5rem;
border: 3px solid rgba(56, 189, 248, 0.2);
border-radius: 50%;
border-top-color: #38bdf8;
animation: spin 0.8s linear infinite;
margin-bottom: 1.5rem;
}
button {
background-color: #38bdf8;
color: #0f172a;
border: none;
padding: 0.75rem 1.5rem;
font-size: 0.95rem;
font-weight: 600;
border-radius: 0.5rem;
cursor: pointer;
transition: background-color 0.2s;
}
button:hover {
background-color: #7dd3fc;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
</style>
</head>
<body onload="document.forms[0].submit()">
<div class="container">
<div class="spinner"></div>
<h2>Securely connecting to {{ $appName }}</h2>
<p>You are being authenticated. We are securely transferring your session, please do not close this window.</p>
<form method="POST" action="{{ $acsUrl }}">
<input type="hidden" name="SAMLResponse" value="{{ $samlResponse }}" />
@if($relayState)
<input type="hidden" name="RelayState" value="{{ $relayState }}" />
@endif
<noscript>
<p>Javascript is disabled on your browser. Please click the button below to continue.</p>
<button type="submit">Click here to continue</button>
</noscript>
</form>
</div>
</body>
</html>