insideout Get Pro

03 · Sessions and tokens

Pro

Identity and Access, lesson 3

Sessions and tokens

Check every claim in a token, and limit how long a stolen one works.

"Passkeys and account recovery" made sign-in hard to fake. Every request after it carries a session cookie or a token instead, and either works for whoever holds a copy. Using Cryptography 01's signatures, you'll set a cookie's settings and timeouts, check every claim in a signed token, and work out how long a stolen one stays useful.

Part of Pro

In this lesson
  1. Session cookies, and where credentials live
  2. Checking a signed token
  3. Limiting what a stolen one is worth

Cybersecurity comes with Pro: every lesson in every module.

Identity and Access overviewSpotted a mistake? Tell us.