36 lines
1.3 KiB
HTML
36 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>amiPro App Callback</title>
|
|
<style>
|
|
body { font-family: Arial, sans-serif; margin: 0; padding: 32px; background: #f6f7fb; color: #1f2430; }
|
|
.card { max-width: 520px; margin: 0 auto; background: #fff; padding: 24px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
|
|
h1 { margin: 0 0 12px; font-size: 22px; }
|
|
p { margin: 6px 0; color: #4a5160; }
|
|
code { background: #eef1ff; padding: 2px 6px; border-radius: 6px; font-size: 12px; }
|
|
</style>
|
|
<script>
|
|
function init() {
|
|
const params = new URL(window.location.href).searchParams;
|
|
const session = params.get('session');
|
|
const username = params.get('username');
|
|
const rpId = params.get('rpId');
|
|
document.getElementById('session').textContent = session || '(none)';
|
|
document.getElementById('username').textContent = username || '(none)';
|
|
document.getElementById('rpId').textContent = rpId || '(none)';
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="init()">
|
|
<div class="card">
|
|
<h1>SSO Complete</h1>
|
|
<p>You can return to the app.</p>
|
|
<p>Session: <code id="session"></code></p>
|
|
<p>User: <code id="username"></code></p>
|
|
<p>rpId: <code id="rpId"></code></p>
|
|
</div>
|
|
</body>
|
|
</html>
|