summaryrefslogtreecommitdiffstats
path: root/crates/auth/auth.toml
diff options
context:
space:
mode:
authorrtkay123 <dev@kanjala.com>2025-07-23 18:54:11 +0200
committerrtkay123 <dev@kanjala.com>2025-07-23 18:54:11 +0200
commit579883b66bceefe7b50157401bccbf66a6c5d58e (patch)
tree709787bc94f512a8446f6d3650486ec6d5027bd0 /crates/auth/auth.toml
parent089efa225cc0a4e7be12608129ddbff28d11f320 (diff)
downloadsellershut-579883b66bceefe7b50157401bccbf66a6c5d58e.tar.bz2
sellershut-579883b66bceefe7b50157401bccbf66a6c5d58e.zip
feat(auth): tower session
Diffstat (limited to 'crates/auth/auth.toml')
-rw-r--r--crates/auth/auth.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/auth/auth.toml b/crates/auth/auth.toml
index cfb6501..4e5b263 100644
--- a/crates/auth/auth.toml
+++ b/crates/auth/auth.toml
@@ -2,6 +2,9 @@
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"