-
Notifications
You must be signed in to change notification settings - Fork 16
/
aidial.settings.json
71 lines (71 loc) · 2.1 KB
/
aidial.settings.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
{
"config": {
"files": ["/app/config/aidial.config.json"],
"reload": 60000
},
"redis": {
"singleServerConfig": {
"address": "redis://localhost:16370"
}
},
"identityProviders": {
"azure": {
"jwksUrl": "https://login.microsoftonline.com/path/discovery/keys",
"rolePath": "groups",
"issuerPattern": "^https:\\/\\/some\\.windows\\.net.+$"
},
"keycloak": {
"jwksUrl": "https://host.com/realms/your/protocol/openid-connect/certs",
"rolePath": "resource_access.your.roles",
"issuerPattern": "^https:\\/\\/some-keycloak.com.+$"
},
"google": {
"rolePath": "fn:getGoogleWorkspaceGroups",
"userInfoEndpoint": "https://openidconnect.googleapis.com/v1/userinfo",
"loggingKey": "email",
"loggingSalt": "salt"
},
"cognito": {
"loggingKey": "email",
"issuerPattern": "^https:\\/\\/cognito-idp\\.eu-north-1\\.amazonaws\\.com.+$",
"rolePath": "roles",
"jwksUrl": "https://cognito-idp.eu-north-1.amazonaws.com/eu-north-1_PWSAjo4OY/.well-known/jwks.json",
"loggingSalt": "loggingSalt"
},
"gitlab": {
"rolePath": "groups",
"userInfoEndpoint": "https://gitlab.com/oauth/userinfo",
"loggingKey": "email",
"loggingSalt": "salt"
},
"auth0": {
"loggingKey": "email",
"issuerPattern": "^https:\\/\\/chatbot-ui-staging\\.eu\\.auth0\\.com.+$",
"rolePath": "dial_roles",
"jwksUrl": "https://<your_domain>.auth0.com/.well-known/jwks.json",
"loggingSalt": "loggingSalt"
},
"okta": {
"loggingKey": "sub",
"issuerPattern": "^https:\\/\\/<your_domain>\\.okta\\.com.*$",
"rolePath": "Groups",
"jwksUrl": "https://<your_domain>.okta.com/oauth2/default/v1/keys",
"loggingSalt": "loggingSalt"
},
"test": {
"disableJwtVerification": true,
"rolePath": "role"
}
},
"storage": {
"provider" : "s3",
"endpoint" : "https://s3.endpoint:9000",
"identity": "access-key",
"credential": "secret-key",
"bucket": "your-bucket"
},
"encryption": {
"key": "key",
"secret": "secret"
}
}