Explain how browser authentication works with JWTs
Company: Microsoft
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: hard
Interview Round: Onsite
Quick Answer: This question evaluates understanding of browser-based authentication with JWTs, covering token storage trade-offs, how tokens are sent with requests, refresh token/session renewal patterns, common security risks (XSS, CSRF), and differences from traditional server-side sessions.