oidc example auth

This commit is contained in:
Arian Nasr
2026-02-25 21:27:34 -05:00
parent b7844558ac
commit ea66a750c9
7 changed files with 199 additions and 7 deletions

25
templates/dashboard.html Normal file
View File

@@ -0,0 +1,25 @@
{% extends "base.html" %}
{% block title %}Dashboard BoxDrop{% endblock %}
{% block content %}
<h1>Dashboard</h1>
<p>This page is only visible to authenticated users.</p>
<table style="border-collapse:collapse;width:100%">
<thead>
<tr style="background:#f4f4f4">
<th style="text-align:left;padding:0.5rem 1rem;border:1px solid #ddd">Claim</th>
<th style="text-align:left;padding:0.5rem 1rem;border:1px solid #ddd">Value</th>
</tr>
</thead>
<tbody>
{% for key, value in user.items() %}
<tr>
<td style="padding:0.5rem 1rem;border:1px solid #ddd"><code>{{ key }}</code></td>
<td style="padding:0.5rem 1rem;border:1px solid #ddd">{{ value }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock %}