Files
Job-Info/frontend/public/auth-response.html
T

25 lines
689 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Auth Response</title>
</head>
<body>
<p>Processing login...</p>
<script src="https://alcdn.msauth.net/browser/2.36.1/js/msal-browser.min.js"></script>
<script type="module">
import { initializeAuth } from "/src/auth.js";
import { log } from "/src/logger.js";
log("AUTH-RESPONSE page loaded.");
initializeAuth().then(() => {
log("Redirect handling complete. Returning to app...");
// After MSAL processes tokens, return to the main app
window.location.href = "/";
});
</script>
</body>
</html>