This is an example consumer built for the Django framework. Enter
an OpenID in the box below.
{% if error %}
{{ error|escape }}
{% endif %}
{% if url %}
OpenID authentication succeeded; you authenticated as
{{ url|escape }}.
{% if sreg %}
Simple Registration data returned:
{% for pair in sreg %}
- {{ pair.0 }}: {{ pair.1 }}
{% endfor %}
{% else %}
The server returned no Simple Registration data.
{% endif %}
{% if ax %}
Attribute Exchange data returned:
{% for pair in ax %}
- {{ pair.0 }}: {{ pair.1|join:", " }}
{% endfor %}
{% else %}
The server returned no Attribute Exchange data.
{% endif %}
{% if pape %}
An authentication policy response contained these policies:
{% for uri in pape.auth_policies %}
- {{ uri }}
{% endfor %}
{% else %}
The server returned no authentication policy data (PAPE).
{% endif %}
{% endif %}
{% if message %}
{{ message|escape }}
{% endif %}
{% if failure_reason %}
{{ failure_reason|escape }}
{% endif %}