Skip to content
Snippets Groups Projects
Commit 96cbb092 authored by Nico Vermaas's avatar Nico Vermaas
Browse files

Merge branch 'SDC-891_nabar_login_keycloak' into 'master'

Make the login btn go directly to keycloak

See merge request !297
parents f5600043 7970a9e6
No related branches found
No related tags found
1 merge request!297Make the login btn go directly to keycloak
Pipeline #51696 passed
{% load static %}
{% load account %}
{% load socialaccount %}
<nav class="navbar navbar-expand-lg navbar-light bg-light">
......@@ -50,7 +51,14 @@
</li>
{% else %}
<li class="h-navbar-list__item">
<a class="button button--secondary margin-right" href="{% url 'account_login' %}">Sign In</a>
<form method="post" action="{% provider_login_url 'keycloak' %}">
{% csrf_token %}
<button type="submit" class="button button--secondary margin-right">
Sign In
</button>
</form>
</li>
{% endif %}
</ul>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment