Added an button to connect the oauth providers from WebUI

This commit is contained in:
Jan Böhmer 2023-07-16 03:18:33 +02:00
parent c203de082e
commit f7648e3311
6 changed files with 28 additions and 4 deletions

View file

@ -30,6 +30,10 @@
{{ capability.translationKey|trans }}
</span>
{% endfor %}
{% if provider.providerInfo.oauth_app_name is defined and provider.providerInfo.oauth_app_name is not empty %}
<br>
<a href="{{ path('oauth_client_connect', {'name': provider.providerInfo.oauth_app_name}) }}" target="_blank" class="btn btn-outline-secondary btn-sm mt-2">{% trans %}oauth_client.connect.btn{% endtrans %}</a>
{% endif %}
</div>
</div>
{% if provider.active == false %}
@ -42,7 +46,6 @@
{% endif %}
</div>
</div>
{% endif %}
</td>
</tr>