dj-sso-client DEMO
SSO server:
https://dj-sso-sample.herokuapp.com
{% if req.get_host != "localhost:8000" %}
The SSO API key is binding with origin
http://localhost:8000
Please access example application by
http://localhost:8000
instead of {{ req.get_host }}
{% else %} {% if user.is_authenticated %} hello {{ user }},
logout
username: {{ user.username }}
last name: {{ user.last_name }}
first name: {{ user.first_name }}
email: {{ user.email }}
last login: {{ user.last_login }}
{% else %}
login
{% endif %} {% endif %}