{% extends 'index.html' %}
{% block body %}
{% if error %}
Error
{{ error.message }}
{% else %}
{% set content = result.user.content or '' %}
{% set safe_content = content.strip('"')|replace("'", "’")|default('', None)|safe or '""' %}
{% set safe_cred_response = credentials_response.content|default('', None)|safe or '""' %}
Login result for provider: {{ result.provider.name }}
User
{% for property in user_properties|sort %}
{{ property }}: |
{% if property == 'birth_date' and result.user[property] %}
{{ result.user[property].strftime('%x') }} |
{% else %}
{{ result.user[property]|default('', true) }} |
{% endif %}
{% endfor %}
content: |
{{ result.user.content }} |
{% if original_credentials %}
Original Credentials
{% for k, v in original_credentials|dictsort %}
{{ k }}: |
{{ v|default('', true) }} |
{% endfor %}
Credentials Refresh
Refresh Response Status: {{ credentials_response.status|default('REFRESH NOT SUPPORTED') }}
Refreshed Credentials
{% for k, v in refreshed_credentials|dictsort %}
{{ k }}: |
{{ v|default('', true) }} |
{% endfor %}
{% endif %}
Human Readable Content
User content should contain these strings:
{% endif %}
{% endblock %}