Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boringstack-xyz/boringstack
/ createJWTConfig
Function
createJWTConfig
apps/api/src/lib/jwt/jwt-utils.ts:7–12 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
5
import
{ nowMs } from
"../time/now"
;
6
7
export
const
createJWTConfig = () =>
8
jwt({
9
name: JWT_NAME,
10
secret: env.JWT_SECRET,
11
exp: JWT_TTL,
12
});
13
14
/**
15
* Build the payload signed into the auth JWT.
Callers
6
mfa.routes.ts
File · 0.90
auth.routes.ts
File · 0.90
requireAuth
Function · 0.90
tryAuth
Function · 0.90
signCookie
Function · 0.90
jwt-utils.test.ts
File · 0.90
Calls
no outgoing calls
Tested by
1
signCookie
Function · 0.72