THE INTERVIEW PRACTICE ROOM
Knowledge bank · v1P
Backend Engineer
AuthenticationIntermediate7 min

The token is valid. The user logged out.

  1. 1Your approach
  2. 2The follow-up
  3. 3Reflect & learn
THE INTERVIEWER ASKS

The scenario

Implement middleware for your APIs to handle authentication and authorization. Walk through what you would check before allowing a request.

How would you approach it?

Explain your assumptions, your approach, and why you chose it.

Loading your notes…0 / 12,000
No timer. Think it through.
AlifBay Prep