rDrama/files/templates/oauth.html

20 lines
979 B
HTML
Raw Normal View History

2022-05-04 23:09:46 +00:00
{% extends "login.html" %}
2022-11-19 22:20:38 +00:00
{% block pagetitle %}Application Request for Access{% endblock %}
2022-05-04 23:09:46 +00:00
{% block content %}
2022-10-29 00:52:11 +00:00
<div id="auth-form">
<h2>{{application.app_name}}</h2>
2022-05-04 23:09:46 +00:00
<p class="mb-md-5">wants to access your @{{v.username}} account.</p>
<p class="mb-md-5">It will not be able to see your password, or change your account settings.</p>
<form action="/authorize" method="post" class="mt-md-3" id="login">
2023-01-24 05:10:16 +00:00
<input hidden name="formkey" value="{{v|formkey}}">
<input hidden name="scopes" value="{{scopes_txt}}">
<input hidden name="redirect_uri" value="{{redirect_uri}}">
<input hidden name="permanent" value="{{permanent}}">
<input hidden name="client_id" value="{{application.client_id}}">
<input hidden name="state" value="{{state}}">
2023-03-07 00:21:08 +00:00
<input type="submit" class="btn btn-primary" id="auth_button" value="Authorize {{application.app_name}}">
2022-05-04 23:09:46 +00:00
<a href="/" class="btn btn-secondary">No, back to {{SITE_NAME}}</a>
</form>
</div>
2022-10-29 00:52:11 +00:00
{% endblock %}