summaryrefslogtreecommitdiffstats
path: root/crates/auth/auth.toml
blob: 4e5b263576c381d033eea7c5b389b1b4978dea26 (plain)
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
[application]
env = "development"
port = 1304

[misc.oauth]
session-lifespan = 3600 # seconds

[misc.oauth.discord]
# query param for provider
redirect-url = "http://127.0.0.1:1304/auth/authorised?provider=discord"
#client-id = ""
#client-secret = ""
#auth-url = ""


[monitoring]
log-level = "auth_service=trace,info"

[database]
pool_size = 100
port = 5432
name = "auth"
host = "localhost"
password = "password"
user = "postgres"

# vim:ft=toml