Showing 22 of 24 total issues
Avoid too many return
statements within this function. Open
Open
return cb(null, token);
Avoid too many return
statements within this function. Open
Open
if (!payload.aud) { return cb(new NotValidError('Token missing required claim: aud')); }