diff options
author | rtkay123 <dev@kanjala.com> | 2025-07-26 10:19:44 +0200 |
---|---|---|
committer | rtkay123 <dev@kanjala.com> | 2025-07-26 10:19:44 +0200 |
commit | 8398104fd50b236619a0c20b7c9b7991ea855917 (patch) | |
tree | e75b5dfed6e159f3db98fcc5860a16b3bc42f2d2 /crates/auth/auth.toml | |
parent | 768f732322298f5ecc4dc473fed8cdf5271460d9 (diff) | |
download | sellershut-8398104fd50b236619a0c20b7c9b7991ea855917.tar.bz2 sellershut-8398104fd50b236619a0c20b7c9b7991ea855917.zip |
feat(api): connect to auth service
Diffstat (limited to 'crates/auth/auth.toml')
-rw-r--r-- | crates/auth/auth.toml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/auth/auth.toml b/crates/auth/auth.toml index 17a696f..4c1c0ca 100644 --- a/crates/auth/auth.toml +++ b/crates/auth/auth.toml @@ -2,10 +2,16 @@ env = "development" port = 1304 +[nats] +hosts = ["nats://localhost:4222"] + [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" |