mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-27 20:22:55 +00:00
eab189c3c6
* Refactor login components and adjust API routes Signed-off-by: Erik Michelson <github@erik.michelson.eu> * Adjust API /me response and redux state Signed-off-by: Erik Michelson <github@erik.michelson.eu> * Fix moved function Signed-off-by: Erik Michelson <github@erik.michelson.eu> * Update cypress tests Signed-off-by: Erik Michelson <github@erik.michelson.eu> * Adjust mock response Signed-off-by: Erik Michelson <github@erik.michelson.eu> * Integrate new common fields and hook into profile page Signed-off-by: Erik Michelson <github@erik.michelson.eu> * Remove openid Signed-off-by: Erik Michelson <github@erik.michelson.eu> * Fix config mock Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de> Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
43 lines
977 B
Text
43 lines
977 B
Text
{
|
|
"allowAnonymous": true,
|
|
"authProviders": {
|
|
"facebook": true,
|
|
"github": true,
|
|
"twitter": true,
|
|
"gitlab": true,
|
|
"dropbox": true,
|
|
"ldap": true,
|
|
"google": true,
|
|
"saml": true,
|
|
"oauth2": true,
|
|
"local": true
|
|
},
|
|
"allowRegister": true,
|
|
"branding": {
|
|
"name": "DEMO Corp",
|
|
"logo": "/mock-backend/public/img/demo.png"
|
|
},
|
|
"customAuthNames": {
|
|
"ldap": "FooBar",
|
|
"oauth2": "Olaf2",
|
|
"saml": "aufSAMLn.de"
|
|
},
|
|
"maxDocumentLength": 100000,
|
|
"useImageProxy": false,
|
|
"plantumlServer": "https://www.plantuml.com/plantuml",
|
|
"specialUrls": {
|
|
"privacy": "https://example.com/privacy",
|
|
"termsOfUse": "https://example.com/termsOfUse",
|
|
"imprint": "https://example.com/imprint"
|
|
},
|
|
"version": {
|
|
"major": -1,
|
|
"minor": -1,
|
|
"patch": -1,
|
|
"commit": "mock"
|
|
},
|
|
"iframeCommunication": {
|
|
"editorOrigin": "http://localhost:3001/",
|
|
"rendererOrigin": "http://127.0.0.1:3001/"
|
|
}
|
|
}
|