Skip to content

Commit

Permalink
[FIX] Increase token expiration for OpenNeuro
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Levitas committed Jul 11, 2024
1 parent 66288a1 commit 42a8abd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const verifyJWT = (jwtToVerify?: string): string | jwt.JwtPayload | undef
export const signJWT = (claims: { sessionId: string }, signInOpts?: jwt.SignOptions) => {
return jwt.sign(claims, ezbidsPrivateKey, {
algorithm: 'RS256',
expiresIn: '10s',
expiresIn: '600s',
...(signInOpts || {}),
});
};

0 comments on commit 42a8abd

Please sign in to comment.