mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 17:55:17 -04:00
Feature/open id sign in (#35)
* added errorOpenIdLogin i18n key * added openid authProvider * added postOpenIdLogin api call * added via-open-id component Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
d2c6ea464d
commit
a50ad6e6c8
8 changed files with 92 additions and 9 deletions
|
@ -13,12 +13,13 @@ export const initialState: BackendConfigState = {
|
|||
google: false,
|
||||
saml: false,
|
||||
oauth2: false,
|
||||
email: false
|
||||
email: false,
|
||||
openid: false
|
||||
},
|
||||
customAuthNames: {
|
||||
ldap: "",
|
||||
saml: "",
|
||||
oauth2: ""
|
||||
oauth2: "",
|
||||
saml: ""
|
||||
},
|
||||
specialLinks: {
|
||||
privacy: "",
|
||||
|
|
|
@ -20,12 +20,13 @@ export interface AuthProvidersState {
|
|||
saml: boolean,
|
||||
oauth2: boolean,
|
||||
email: boolean,
|
||||
openid: boolean,
|
||||
}
|
||||
|
||||
export interface CustomAuthNames {
|
||||
ldap: string;
|
||||
saml: string;
|
||||
oauth2: string;
|
||||
saml: string;
|
||||
}
|
||||
|
||||
export interface SpecialLinks {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue