Skip to content

Commit 8ae0a32

Browse files
committed
Add suggestion from copilot
1 parent 02be0e2 commit 8ae0a32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/server/api/src/app/user-info/cloud-auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function getVerifiedUser(
2121
}
2222

2323
try {
24-
return jwt.verify(token, publicKey);
24+
return jwt.verify(token, publicKey, { algorithms: ['RS256'] });
2525
} catch {
2626
return undefined;
2727
}

0 commit comments

Comments
 (0)