-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdnsconstants.js
57 lines (47 loc) · 1.44 KB
/
dnsconstants.js
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
const digitalplatform_dns = "digitalplatform.ddns.net"
const digitalplatform_port = "443"
const inps_dns = "fakeinps.ddns.net"
const inps_port = "443"
const poste_dns = "fakeposte.ddns.net"
const poste_port = "443"
const provider_dns = "cieprovider.ddns.net"
const provider_port = "443"
const digitalplatform = {
dns : digitalplatform_dns,
url : "https://"+digitalplatform_dns,
port : digitalplatform_port,
site : "https://"+digitalplatform_dns+":"+digitalplatform_port,
client_id: 'digitalPlatformClient',
client_secret: 'Some_super_secret',
redirect_uris: ["https://"+digitalplatform_dns+":"+digitalplatform_port+"/login/callback"],
}
const inps = {
dns : inps_dns,
url : "https://"+inps_dns,
port : inps_port,
site : "https://"+inps_dns+":"+inps_port,
client_id: 'inpsClient',
client_secret: 'Some_super_secret',
redirect_uris: ["https://"+inps_dns+":"+inps_port+"/login/callback"],
}
const poste = {
dns : poste_dns,
url : "https://"+poste_dns,
port : poste_port,
site : "https://"+poste_dns+":"+poste_port,
client_id: 'posteClient',
client_secret: 'Some_super_secret',
redirect_uris: ["https://"+poste_dns+":"+poste_port+"/login/callback"],
}
const provider = {
dns : provider_dns,
url : "https://"+provider_dns,
port : provider_port,
site : "https://"+provider_dns+":"+provider_port,
}
module.exports= {
digitalplatform,
inps,
poste,
provider
}