| author | ymh <ymh.work@gmail.com> |
| Mon, 25 Jul 2016 18:24:03 +0200 | |
| changeset 108 | a7480ebe1f4d |
| parent 5 | 4407b131a70e |
| permissions | -rw-r--r-- |
| 1 | 1 |
<!DOCTYPE html> |
2 |
<html lang="en"> |
|
3 |
<head> |
|
4 |
<meta charset="UTF-8"> |
|
5 |
<title>Authorization</title> |
|
6 |
</head> |
|
7 |
<body> |
|
8 |
<p>Client: {{ client.client_id }}</p> |
|
9 |
<p>User: {{ user.username }}</p> |
|
|
5
4407b131a70e
adjustments on Oauth server and mock ged client + Readme
durandn
parents:
1
diff
changeset
|
10 |
<form action="/oauth/oauth2/authorize" method="post"> |
| 1 | 11 |
<p>Allow access?</p> |
12 |
<input type="hidden" name="client_id" value="{{ client.client_id }}"> |
|
13 |
<input type="hidden" name="scope" value="{{ scopes|join(' ') }}"> |
|
14 |
<input type="hidden" name="response_type" value="{{ response_type }}"> |
|
15 |
<input type="hidden" name="redirect_uri" value="{{ redirect_uri }}"> |
|
16 |
{% if state %} |
|
17 |
<input type="hidden" name="state" value="{{ state }}"> |
|
18 |
{% endif %} |
|
19 |
<input type="submit" name="confirm" value="yes"> |
|
20 |
<input type="submit" name="confirm" value="no"> |
|
21 |
</form> |
|
22 |
</body> |
|
23 |
</html> |