-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json.example
76 lines (76 loc) · 1.88 KB
/
config.json.example
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
{
app": {
"name": "go-sso",
"version": "1.0.0",
"env": "development",
"url": "https://4291-36-68-222-24.ngrok-free.app",
"domain": "",
"secret": "$2y$10$glTfhpK4kDZC6u9o.hQ0Ped.FsRvkW/DuCxetOozu.4gORDipkKdK"
},
"web": {
"prefork": false,
"port": 3000,
"cookie": {
"name": "go-sso",
"secure": false,
"http_only": true,
"max_age": 86400,
"same_site": "Lax",
"secret": "$2y$10$glTfhpK4kDZC6u9o.hQ0Ped.FsRvkW/DuCxetOozu.4gORDipkKdK"
},
"session": {
"name": "abogoboga"
},
"csrf_secret": "$2y$10$glTfhpK4kDZC6u9o.hQ0Ped.FsRvkW/DuCxetOozu.4gORDipkKdK"
},
"log": {
"level": 6,
"output": "stdout"
},
"database": {
"driver": "mysql",
"host": "127.0.0.1",
"port": 3306,
"username": "root",
"password": "password",
"name": "your-db",
"pool": {
"idle": 10,
"max": 100,
"lifetime": 300
}
},
"rabbitmq": {
"url": "amqp://guest:guest@localhost:5672/",
"queue": "golang_lms"
},
"jwt": {
"secret": "$2y$10$glTfhpK4kDZC6u9o.hQ0Ped.FsRvkW/DuCxetOozu.4gORDipkKdK"
},
"mail": {
"host": "smtp.hostinger.com",
"port": 465,
"username": "[email protected]",
"password": "$DemonLord1979",
"from": "[email protected]"
},
"auth0": {
"domain": "blablabla.us.auth0.com",
"client_id": "your_client_id",
"client_secret": "your_client_secret",
"redirect_url": "http://localhost:3000/api/oauth/callback"
},
"google": {
"client_id": "mwehehe",
"client_secret": "mwehehe",
"redirect_url": "http://localhost:3000/api/oauth/google/callback"
},
"zitadel": {
"auth_url": "mwehehe",
"token_url": "mwehehe",
"userinfo_url": "mwehehe",
"key": "abogoboga",
"client_id": "1782792871",
"redirect_url": "http://localhost:3000/api/oauth/zitadel/callback"
}
}