mirror of
https://github.com/nullishamy/ferri.git
synced 2025-06-28 09:04:18 +00:00
47 lines
1.2 KiB
HTML
47 lines
1.2 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<base href="https://ferri.amy.mov/admin/">
|
||
|
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||
|
<title>Ferri Test</title>
|
||
|
|
||
|
<link rel="stylesheet" href="https://raw.githubusercontent.com/tailwindlabs/tailwindcss/dbc8023a08964f513c20796e170cb91ce891df3f/packages/tailwindcss/preflight.css">
|
||
|
<script src="https://unpkg.com/htmx.org@2.0.4"></script>
|
||
|
|
||
|
<style>
|
||
|
main {
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
align-items: center;
|
||
|
width: 100%;
|
||
|
max-width: 80%;
|
||
|
margin: auto;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
<main>
|
||
|
<h1>Authorization request</h1>
|
||
|
|
||
|
<span>
|
||
|
App '{{ client.id }}' would like to access the following scopes in your account
|
||
|
</span>
|
||
|
|
||
|
<ul>
|
||
|
{% for scope in scopes %}
|
||
|
<li>{{ scope }}</li>
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
|
||
|
<button
|
||
|
hx-post="/oauth/accept?id={{ user_id }}&client_id={{ client.id }}&scope={{ scope_raw }}"
|
||
|
>
|
||
|
Accept and return to {{ redirect_uri }}?
|
||
|
</button>
|
||
|
</main>
|
||
|
</body>
|
||
|
</html>
|