summaryrefslogtreecommitdiffstats
path: root/crates/auth/auth.toml
diff options
context:
space:
mode:
authorrtkay123 <dev@kanjala.com>2025-07-23 13:39:40 +0200
committerrtkay123 <dev@kanjala.com>2025-07-23 13:39:40 +0200
commit089efa225cc0a4e7be12608129ddbff28d11f320 (patch)
treed5d27ba5f5056c7a539365fd314e6d7ce7529523 /crates/auth/auth.toml
parent0a48abb0f0d4752b639fb89dd2db32a3db0eebb8 (diff)
downloadsellershut-089efa225cc0a4e7be12608129ddbff28d11f320.tar.bz2
sellershut-089efa225cc0a4e7be12608129ddbff28d11f320.zip
feat(auth): discord oauth
Diffstat (limited to 'crates/auth/auth.toml')
-rw-r--r--crates/auth/auth.toml24
1 files changed, 24 insertions, 0 deletions
diff --git a/crates/auth/auth.toml b/crates/auth/auth.toml
new file mode 100644
index 0000000..cfb6501
--- /dev/null
+++ b/crates/auth/auth.toml
@@ -0,0 +1,24 @@
+[application]
+env = "development"
+port = 1304
+
+[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