1
<!-- Copyright 2010 Canonical Ltd. This software is licensed under the
2
GNU Affero General Public License version 3 (see the file LICENSE). -->
4
<!-- This module is based on code from Django OpenID.
5
Please see the license file in thirdparty/django-openid. -->
9
<title>Django OpenID Example Consumer</title>
10
<link rel="stylesheet" type="text/css"
11
href="/assets/identityprovider/ubuntu/styles.css"/>
22
This is an example consumer embedded in the SSO provider framework
23
for QA purposes only. You can see this page because you have TESTING=True
28
<div><span class="error">{{ error|escape }}</span></div>
33
OpenID authentication succeeded; you authenticated as
34
<a href="{{ url }}">{{ url|escape }}</a>.
38
Simple Registration data returned:
41
{% for pair in sreg %}
42
<li>{{ pair.0 }}: {{ pair.1 }}</li>
46
The server returned no Simple Registration data.
50
You are currently member of the following teams:
52
{% for team in teams %}
57
The server returned no teams data.
69
{% if failure_reason %}
71
{{ failure_reason|escape }}
75
<form method="post" action="{{ consumer_url }}">
76
<input type="hidden" name="openid_identifier" value="{{openid}}" />
82
<td><input type="checkbox" name="sreg" id="id_sreg" /></td>
83
<td><label for="id_sreg">SREG data</label></td>
90
<td><input type="checkbox" name="sreg_country" id="id_sreg_country" /></td>
91
<td><label for="id_sreg_country">Country</label></td>
94
<td><input type="checkbox" name="sreg_dob" id="id_sreg_dob" /></td>
95
<td><label for="id_sreg_dob">Date of Birth</label></td>
98
<td><input type="checkbox" name="sreg_gender" id="id_sreg_gender" /></td>
99
<td><label for="id_sreg_gender">Gender</label></td>
102
<td><input type="checkbox" name="sreg_language" id="id_sreg_language" /></td>
103
<td><label for="id_sreg_language">Language</label></td>
106
<td><input type="checkbox" name="sreg_nickname" id="id_sreg_nickname" /></td>
107
<td><label for="id_sreg_nickname">Nickname</label></td>
110
<td><input type="checkbox" name="sreg_postalcode" id="id_sreg_postalcode" /></td>
111
<td><label for="id_sreg_postalcode">Postal Code</label></td>
114
<td><input type="checkbox" name="sreg_timezone" id="id_sreg_timezone" /></td>
115
<td><label for="id_sreg_timezone">Time Zone</label></td>
121
<td><input type="checkbox" name="teams" id="id_teams" /></td>
122
<td><label for="id_teams">Teams data</label></td>
127
<input type="submit" value="Begin" />