forked from gravitee-io/gravitee-management-webui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.tpl.json
77 lines (72 loc) · 1.97 KB
/
constants.tpl.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"baseURL": "/management/",
"portalTitle": "Gravitee.io Portal",
"managementTitle": "Gravitee.io Management",
"devMode": false,
"userCreationEnabled": true,
"localLoginEnabled": true,
"portal": {
"entrypoint": "https://api.company.com",
"apikeyHeader": "X-Gravitee-Api-Key",
"apis": {
"tilesMode": true
}
},
// Portal theme customisation
"theme": {
"name": "default",
"logo": "themes/assets/GRAVITEE_LOGO1-01.png",
"loader": "assets/gravitee_logo_anim.gif",
"css": "themes/assets/gravitee.css"
},
"authentication": {
"forceLogin": false,
"localLoginDisabled": false,
/* Enable social authentication with Google. clientId is required to enable it */
"google": {
"clientId": "googleplus_clientid"
},
/* Enable social authentication with GitHub. clientId is required to enable it */
"github": {
"clientId": "github_clientId"
},
/*
Enable authentication with a standard OAuth2 / OpenID Connect server.
This authentication provider supports only authorization code grant flow.
*/
"oauth2": {
"clientId": "oauth2_clientId",
"name": "My OAuth2 server",
"color": "#0076b4",
// Authorization endpoint to ask for an authorization_code
"authorizationEndpoint": "https://oauth2_authorization_server/authorize",
"userLogoutEndpoint": "https://oauth2_authorization_server/logout",
// Required scope
"scope": ["profile", "openid"]
}
},
// Enable the creation of support tickets
"support": {
"enabled": false
},
// Enable rating on APIs
"rating": {
"enabled": false
},
// Add widget in analytis of portal
"portalAnalytics": {
"widgets": ["geo_country","geo_city"]
},
// Analytics of portal navigation
"analytics": {
"google": {
"enabled": false,
"trackingId": ""
}
},
// Scheduler configuration
"scheduler": {
"tasks": 10, // in seconds
"notifications": 10 // in seconds
}
}