mirror of
https://github.com/Noratrieb/oh-oh.git
synced 2026-01-14 09:05:01 +01:00
45 lines
1.1 KiB
HTML
45 lines
1.1 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>IDP</title>
|
|
<link rel="stylesheet" href="/style.css" />
|
|
</head>
|
|
<body>
|
|
<h1>Your favorite identity provider</h1>
|
|
<a href="/">home</a>
|
|
<p>OAuth Config</p>
|
|
<div>
|
|
<a href="/oauth-clients">List all OAuth clients</a>
|
|
</div>
|
|
<div>
|
|
<a href="/add-oauth-client">Register a new OAuth client</a>
|
|
</div>
|
|
{% if let Some(username) = username %}
|
|
<p>Hello, {{username}}!</p>
|
|
{% endif %}
|
|
<p>Login</p>
|
|
<div>
|
|
<a href="/signup">Create an account</a>
|
|
</div>
|
|
<div>
|
|
<a href="/login">Login</a>
|
|
</div>
|
|
<div>
|
|
<a href="/users">List all users</a>
|
|
</div>
|
|
{% if let Some(username) = username %}
|
|
<p>Account</p>
|
|
<div>
|
|
<a href="/sessions">List all active sessions your account</a>
|
|
</div>
|
|
<div>
|
|
<a href="/add-totp">Add a new 2FA device to your account</a>
|
|
</div>
|
|
<div>
|
|
<a href="/2fa">List all 2FA devices for your account</a>
|
|
</div>
|
|
{% endif %}
|
|
</body>
|
|
</html>
|