This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
1 |
<body> |
2 |
<form id="authorized-form" role="form" method="POST" action="{{ url_for('oauth.authorize') }}"> |
3 |
<input type="hidden" name="client_id" value="{{ client.id }}"> |
4 |
<input type="hidden" name="scope" value="{{ scopes|join(' ') }}"> |
5 |
<input type="hidden" name="response_type" value="{{ response_type }}"> |
6 |
{% if state %} |
7 |
<input type="hidden" name="state" value="{{ state }}"> |
8 |
{% endif %} |
9 |
<!--button type="submit" name="confirm" value="yes" class="btn |
10 |
btn-primary">Allow</button--> |
11 |
<input type="hidden" name="confirm" value="yes"> |
12 |
<input type="hidden" name="authorized" value="yes"> |
13 |
</form> |
14 |
|
15 |
<script> |
16 |
window.onload = function() { |
17 |
document.getElementById('authorized-form').submit(); |
18 |
}; |
19 |
</script> |
20 |
</body> |