See the checks, the conversation, and the changes side by side. Merge buttons stay locked until everything is green.
// Refresh the auth tokenimport { refresh } from "@beste/auth";// Validate against the JWKS endpoint.const session = await refresh.from(req.cookies);// Rotate the refresh token on each use.session.rotate();session.extend({ days: 14 });// Persist as httpOnly cookie.session.save({ cookie: "secure" });export default session;
feat: rotate refresh tokens on every use
Checks
3 of 4 passingReviewers
Browser-chrome card pairing a syntax-highlighted code editor with a pull-request review panel — branch arrow, check rows with statuses, reviewer initials, and a merge footer. Every label is editable; no media props required.