Add provider id field, relaxing name

This commit is contained in:
phil 2025-01-10 00:09:12 +01:00
parent 57041e9233
commit 170e663ee8
4 changed files with 10 additions and 9 deletions

View file

@ -5,7 +5,7 @@
<p>Log in with one of these authentication providers:</p>
<div class="login-toolbox">
{% for provider in settings.oidc.providers %}
<a href="login/{{ provider.name }}">{{ provider.name }}</a>
<a href="login/{{ provider.id }}">{{ provider.name }}</a>
{% else %}
<span class="error">There is no authentication provider defined.
Hint: check the settings.yaml file.</span>