From 8398104fd50b236619a0c20b7c9b7991ea855917 Mon Sep 17 00:00:00 2001 From: rtkay123 Date: Sat, 26 Jul 2025 10:19:44 +0200 Subject: feat(api): connect to auth service --- crates/auth/auth.toml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crates/auth/auth.toml') 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" -- cgit v1.2.3