Skip to content
Sharp

Authentication · interview question

What are the three parts of a JSON Web Token (JWT)?

Multiple choiceEasychapter-17-curatedpremiumauthenticationjwt-signatures
Choose one answer
Answer and explanation

Correct answer

B. Header, Payload, Signature

Why

A JWT consists of three parts: Header, Payload, and Signature. The Header contains metadata about the type of token and the algorithm used for signing. The Payload contains the claims, and the Signature ensures the token's integrity.

Test yourself on Authentication

A free test with instant, explained results. No account needed.

Start free test
All Authentication questions →