Feature/ldap sign in (#27)

* reworked via-ldap component
* added username i18nkey
* added customAuthNames to backend config
* added postLdapLogin api call

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2020-05-16 19:12:49 +02:00 committed by GitHub
parent fbd29c0338
commit 5eb8ab7517
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 99 additions and 26 deletions

View file

@ -4,7 +4,7 @@ import {BackendConfigActions, BackendConfigState, SET_BACKEND_CONFIG_ACTION_TYPE
export const initialState: BackendConfigState = {
allowAnonymous: true,
authProviders: {
facebook: true,
facebook: false,
github: false,
twitter: false,
gitlab: false,
@ -15,6 +15,9 @@ export const initialState: BackendConfigState = {
oauth2: false,
email: false
},
customAuthNames: {
ldap: ""
},
specialLinks: {
privacy: "",
termsOfUse: "",