dj-sso-server sample

Fork me on GitHub
{% if user.is_authenticated %}

Welcome, {{ user.username }}. log out

{% else %}

Please log in with user1/123

{% endif %}
{% if user.is_authenticated %}

Available API keys for SSO

{% for sapi in ssoapi.all %} {% endfor %}
API key SEC key Host Note
{{ sapi.credential.apikey }} {{ sapi.credential.seckey }} {{ sapi.host }} {{ sapi.note }}

User information

{% endif %}