-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.test.json
64 lines (64 loc) · 1.68 KB
/
config.test.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
{
"pod-indentity-uri": "http://169.254.169.254/metadata/identity/oauth2/token?api-version=2018-02-01&resource=https%3A%2F%2Fmanagement.azure.com%2F",
"database": {
"name": "game",
"connector": "mssql",
"host": "localhost",
"port": 1440,
"user": "sa",
"database": "scoparella",
"schema": "scopa"
},
"keys": {
"publicKey": "./RS512-test.key.pub",
"privateKey": "./RS512-test.key"
},
"thirdPartyConfig": {
"google": {
"provider": "google",
"module": "passport-google-oauth2",
"strategy": "OAuth2Strategy",
"clientID": "xyz.apps.googleusercontent.com",
"callbackURL": "/api/auth/thirdparty/google/callback",
"authPath": "/api/auth/thirdparty/google",
"callbackPath": "/api/auth/thirdparty/google/callback",
"successRedirect": "/auth/account",
"failureRedirect": "/login",
"scope": [
"email",
"profile"
],
"failureFlash": true
},
"facebook": {
"provider": "facebook",
"module": "passport-facebook",
"profileFields": [
"gender",
"link",
"locale",
"name",
"timezone",
"verified",
"email",
"updated_time",
"displayName",
"id"
],
"callbackURL": "/api/auth/thirdparty/facebook/callback",
"authPath": "/api/auth/thirdparty/facebook",
"callbackPath": "/api/auth/thirdparty/facebook/callback",
"successRedirect": "/auth/account",
"failureRedirect": "/login",
"scope": [
"email"
],
"failureFlash": true,
"clientID": "123456789"
},
"jwt": {
"audience": "localhost.com",
"algorithm": "RS512"
}
}
}