summaryrefslogtreecommitdiffstats
path: root/crates/auth/auth.toml
diff options
context:
space:
mode:
authorrtkay123 <dev@kanjala.com>2025-07-26 18:42:32 +0200
committerrtkay123 <dev@kanjala.com>2025-07-26 18:42:32 +0200
commit236876f1d0539ac22a3977fd8599933725ad0f90 (patch)
tree5c216d71ac065621348ce05e7c6c7f7ce81c85d3 /crates/auth/auth.toml
parentcf77963db4f2b55048d725bd6250a490b0b82d64 (diff)
downloadsellershut-236876f1d0539ac22a3977fd8599933725ad0f90.tar.bz2
sellershut-236876f1d0539ac22a3977fd8599933725ad0f90.zip
feat(auth): create user
Diffstat (limited to 'crates/auth/auth.toml')
-rw-r--r--crates/auth/auth.toml6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/auth/auth.toml b/crates/auth/auth.toml
index 4c1c0ca..3af6fc0 100644
--- a/crates/auth/auth.toml
+++ b/crates/auth/auth.toml
@@ -5,13 +5,13 @@ port = 1304
[nats]
hosts = ["nats://localhost:4222"]
+[misc]
+profile-endpoint = "http://localhost:1610"
+
[misc.oauth]
session-lifespan = 3600 # seconds
jwt-encoding-key = "secret"
-[misc.nats]
-subject = "users"
-
[misc.oauth.discord]
# query param for provider
redirect-url = "http://127.0.0.1:1304/auth/authorised?provider=discord"