dj-sso-server sample
{% 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
API key |
SEC key |
Host |
Note |
{% for sapi in ssoapi.all %}
{{ sapi.credential.apikey }} |
{{ sapi.credential.seckey }} |
{{ sapi.host }} |
{{ sapi.note }} |
{% endfor %}
User information
- first name: {{ user.first_name }}
- last name: {{ user.last_name }}
- email: {{ user.email }}
{% endif %}