SpinTheMic
Pro

Interview practice question

Verifying JWTs in services

Backend Engineering · API Design · Intermediate

Your API gateway validates JWTs. Should backend services trust the user identity forwarded by the gateway?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Defence in depth: verify again or use signed internal identity.
  • Don't trust plain headers from anywhere.
  • mTLS between gateway and services.
  • Strip client-sent identity headers at edge.
  • Short-lived tokens.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics