-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.json
40 lines (40 loc) · 1 KB
/
config.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
{
"serverName": "Jormungandr Authorization Server",
"version": "v1.0.0-beta",
"security": {
"keys": {
"default": "/run/secrets/default",
"system": "/run/secrets/system"
},
"signingMethod": "RS256",
"issuer": "oauth2-auth-server"
},
"microservice": {
"name": "oauth2-auth-server",
"port": 8080,
"paths": [ "/oauth2", "/auth" ],
"virtual_host": "authorization-server.service.consul",
"weight": 10,
"slots": 10
},
"services": {
"userServiceURL": "http://kong:8000/users",
"appsServiceURL": "http://kong:8000/apps"
},
"database": {
"host": "mongo:27017",
"database": "oauth2",
"user": "authserver",
"pass": "authserver"
},
"session": {
"name": "OAuth2Server",
"authKey": "dGVzdC1hdXRoLWtleQo=",
"encryptKey": "t/xzB8eZ5ypUiIGbuOq5PhZAKpU7LS239ucRXDq7Lw8="
},
"clientAuthorizationTTL": 300000,
"accessTokenTTL": 2592000000,
"accessTokenSigningMethod": "RS256",
"authCodeLength": 10,
"refreshTokenLength": 27
}