Allow SAML authentication provider to be named

Using `CMD_SAML_PROVIDERNAME` and the respective auth provider objects
in the configuration structures.

Signed-off-by: Moritz Schlarb <schlarbm@uni-mainz.de>
This commit is contained in:
Moritz Schlarb 2022-03-11 14:32:40 +01:00 committed by David Mehren
parent 002c7897d8
commit e6fc9f01a3
6 changed files with 6 additions and 1 deletions

View file

@ -45,7 +45,7 @@
<% } %>
<% if (authProviders.saml) { %>
<a href="<%- serverURL %>/auth/saml" class="btn btn-lg btn-block btn-social btn-success">
<i class="fa fa-users"></i> <%= __('Sign in via %s', 'SAML') %>
<i class="fa fa-users"></i> <%= __('Sign in via %s', authProviders.samlProviderName || 'SAML') %>
</a>
<% } %>
<% if (authProviders.oauth2) { %>