active directory authentication, full mfa implementation, vpn generation

This commit is contained in:
2024-05-20 16:10:32 -07:00
parent 49962ade44
commit a64e527fac
16 changed files with 1084 additions and 19 deletions

View File

@@ -9,11 +9,40 @@
<h1>Welcome, {{ current_user.data.givenName }}</h1>
<h2>Email: {{ current_user.data.mail }}</h2>
<h2>{{ current_user.dn }}</h2>
MFA status:<br>
<a href="{{ mfaurl }}">
<button>MFA</button>
{{ mfastatus }}
</a>
<a href="http://accounts.bbrunson.com">
<style>
.styled-box {
width: 300px;
height: 150px;
background-color: #3498db;
color: #fff;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
text-align: center;
padding: 20px;
}
.styled-box:hover {
background-color: #2980b9;
}
</style>
<a href="{{ mfaurl }}">
<div class="styled-box">
<h2>MFA Status:</h2>
<p>{{ mfastatus }}</p>
</div>
</a>
<a href="{{ changepwurl }}">
<button>Change Password</button>
</a>
<a href="{{ vpnurl }}">
<button>VPN</button>
</a>
<a href="{{ logouturl }}">
<button>Logout</button>
</a>
</body>
</html>