Bearer Tokens Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Authentication and Authorization

What you'll be asked

  1. In an HTTP request, where is a Bearer token typically placed to authenticate the client?
  2. What is the primary security risk associated with sending Bearer tokens over unencrypted HTTP connections?
  3. Why is it recommended to set a short expiration time (TTL) for Bearer tokens?
  4. When implementing an OAuth 2.0 flow, what is the purpose of a Refresh Token in relation to the Bearer (Access) Token?
  5. Consider a scenario where a malicious actor intercepts a JWT Bearer token that does not have an 'exp' (expiration) claim and uses the 'alg: none' vulnerability. What is the security implication?

Answers and explanations come after you submit.