Code AnalysisIntermediate 45s
JWT decode
What can you see in a JWT without verification?
Starter code
const token = 'eyJhbGciOiJIUzI1NiJ9.eyJ1c2VySWQiOjQyfQ.signature';
const payload = JSON.parse(atob(token.split('.')[1]));
console.log(payload.userId);Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.