diff --git a/public/backend-config.json b/public/backend-config.json
index c016dc1db..3f025a875 100644
--- a/public/backend-config.json
+++ b/public/backend-config.json
@@ -7,13 +7,15 @@
"gitlab": true,
"dropbox": true,
"ldap": true,
- "google": false,
- "saml": false,
- "oauth2": false,
+ "google": true,
+ "saml": true,
+ "oauth2": true,
"email": true
},
"customAuthNames": {
- "ldap": "FooBar"
+ "ldap": "FooBar",
+ "saml": "aufSAMLn.de",
+ "oauth2": "Olaf2"
},
"specialLinks": {
"privacy": "test",
diff --git a/src/components/landing/pages/login/auth/via-oauth2.tsx b/src/components/landing/pages/login/auth/via-oauth2.tsx
index 5f05e5fcb..e135aa5ab 100644
--- a/src/components/landing/pages/login/auth/via-oauth2.tsx
+++ b/src/components/landing/pages/login/auth/via-oauth2.tsx
@@ -63,7 +63,7 @@ const getMetadata: OAuth2Map = (oauth2type: OAuth2Type) => {
}
case OAuth2Type.OAUTH2:
return {
- name: "oAuth2",
+ name: "OAuth2",
icon: "share",
className: "btn-primary",
url: buildBackendAuthUrl("oauth2")
diff --git a/src/components/landing/pages/login/login.tsx b/src/components/landing/pages/login/login.tsx
index 78a610a88..df37c0d07 100644
--- a/src/components/landing/pages/login/login.tsx
+++ b/src/components/landing/pages/login/login.tsx
@@ -10,11 +10,22 @@ import {ApplicationState} from "../../../../redux";
const Login: React.FC = () => {
useTranslation();
const authProviders = useSelector((state: ApplicationState) => state.backendConfig.authProviders);
-
+ const customAuthNames = useSelector((state: ApplicationState) => state.backendConfig.customAuthNames);
const emailForm = authProviders.email ?