INIT frontend
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<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>
|
||||
Reference in New Issue
Block a user