MarseyWorld/files/templates/oauth.html

34 lines
1.1 KiB
HTML
Raw Normal View History

2022-05-04 23:09:46 +00:00
{% extends "login.html" %}
{% block title %}
<title>Application Request for Access</title>
{% endblock %}
{% block content %}
<div id="auth-form" class="">
<h1 class="h2">{{application.app_name}}</h1>
<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">
<input type="hidden" name="formkey" value="{{v.formkey}}">
<input type="hidden" name="scopes" value="{{scopes_txt}}">
<input type="hidden" name="redirect_uri" value="{{redirect_uri}}">
<input type="hidden" name="permanent" value="{{permanent}}">
<input type="hidden" name="client_id" value="{{application.client_id}}">
<input type="hidden" name="state" value="{{state}}">
<input type="submit" onclick="this.classList.add('disabled')" 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>
2021-07-21 01:12:26 +00:00
{% endblock %}