mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 17:55:17 -04:00
Feature/custom oauth saml names (#31)
* using saml and oauth2 customAuthNames in login * add saml and oauth2 customAuthNames to backend config * changed default name of oauth button Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
83ab0bbe7e
commit
aeeb08ea5a
5 changed files with 28 additions and 8 deletions
|
@ -16,7 +16,9 @@ export const initialState: BackendConfigState = {
|
|||
email: false
|
||||
},
|
||||
customAuthNames: {
|
||||
ldap: ""
|
||||
ldap: "",
|
||||
saml: "",
|
||||
oauth2: ""
|
||||
},
|
||||
specialLinks: {
|
||||
privacy: "",
|
||||
|
|
|
@ -24,6 +24,8 @@ export interface AuthProvidersState {
|
|||
|
||||
export interface CustomAuthNames {
|
||||
ldap: string;
|
||||
saml: string;
|
||||
oauth2: string;
|
||||
}
|
||||
|
||||
export interface SpecialLinks {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue