File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,21 @@ default_page_size = 20
1818# Requests exceeding this limit will be capped to this value
1919max_page_size = 100
2020
21+ # Authentication configuration
2122[auth ]
23+ # JWT secret key for signing and verifying tokens (required)
24+ # Must be at least 32 bytes (64 hex characters) for HS256 algorithm
25+ # Can also be set via JWT_SECRET environment variable (takes precedence)
2226jwt_secret = " 0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef"
27+ # JWT token expiration time in minutes (default: 300 = 5 hours)
28+ # This determines how long a user session remains valid
29+ session_expiration_minutes = 300
30+ # Authentication nonce expiration time in seconds (default: 300 = 5 minutes)
31+ # This determines how long a user has to complete the authentication flow
32+ nonce_expiration_seconds = 300
33+ # SIWE (Sign-In with Ethereum) domain used in authentication messages
34+ # Should match the domain where this backend is accessible (default: "localhost")
35+ siwe_domain = " localhost"
2336
2437# StorageHub RPC configuration
2538[storage_hub ]
You can’t perform that action at this time.
0 commit comments