mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 11:27:09 +00:00
23 lines
758 B
HTML
Executable File
23 lines
758 B
HTML
Executable File
{% load socialaccount %}
|
|
|
|
{% get_providers as socialaccount_providers %}
|
|
|
|
{% for provider in socialaccount_providers %}
|
|
{% if provider.id == "openid" %}
|
|
{% for brand in provider.get_brands %}
|
|
<form action="{% provider_login_url provider.id openid=brand.openid_url process=process %}" method="post">
|
|
{% csrf_token %}
|
|
<button class="btn btn-outline-dark" type="submit">
|
|
{{ brand.name }}
|
|
</button>
|
|
</form>
|
|
{% endfor %}
|
|
{% endif %}
|
|
<form action="{% provider_login_url provider.id process=process scope=scope auth_params=auth_params %}" method="post">
|
|
{% csrf_token %}
|
|
<button class="btn btn-outline-dark" type="submit">
|
|
{% if provider.name == 'Microsoft Graph' %}Microsoft{% else %}{{provider.name}}{% endif %}
|
|
</button>
|
|
</form>
|
|
{% endfor %}
|