Interview preparation
Intermediate·Discussion·2 min read

How did authentication work?

Practice this question
Discussion template: use your own project facts, ownership, and measured outcomes. Bracketed text is a placeholder.

Short explanation:

Authentication flow explains how the system establishes and maintains the caller's identity. It includes the login method, credential validation and how subsequent API requests are recognized. Authorization follows from that identity but must be described separately.

Key points:

  • “We used [actual login method]; the backend checked [credentials/token/session].”

  • For the Investment Analytics project, Azure AD SSO is listed; confirm the exact flow before describing it.

  • For SSO, trace the redirect/code/token flow only to the level actually confirmed by the project implementation.

Interview point:

  • “We used JWT” is incomplete; explain who issued it, what the API validated and how permissions were checked.
Adapted from 10_RESUME_PROJECT_DEEP_DIVE.md · “How did authentication work?”. Code examples are study fragments. Difficulty and core labels are editorial estimates; version-specific behavior should be checked against your project.