oauth/templates/oauth/authorize.html
author ymh <ymh.work@gmail.com>
Mon, 25 Jul 2016 18:24:03 +0200
changeset 108 a7480ebe1f4d
parent 5 4407b131a70e
permissions -rw-r--r--
revert bad change for ajax call for close tracking form
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     1
<!DOCTYPE html>
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     2
<html lang="en">
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     3
<head>
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     4
  <meta charset="UTF-8">
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     5
  <title>Authorization</title>
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     6
</head>
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     7
<body>
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     8
  <p>Client: {{ client.client_id }}</p>
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
     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
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    11
    <p>Allow access?</p>
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    12
    <input type="hidden" name="client_id" value="{{ client.client_id }}">
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    13
    <input type="hidden" name="scope" value="{{ scopes|join(' ') }}">
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    14
    <input type="hidden" name="response_type" value="{{ response_type }}">
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    15
    <input type="hidden" name="redirect_uri" value="{{ redirect_uri }}">
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    16
    {% if state %}
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    17
    <input type="hidden" name="state" value="{{ state }}">
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    18
    {% endif %}
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    19
    <input type="submit" name="confirm" value="yes">
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    20
    <input type="submit" name="confirm" value="no">
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    21
  </form>
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    22
</body>
5f50937893ac Commit work on metaeducation
durandn
parents:
diff changeset
    23
</html>