VRETA

JWT

JWT
About:Compact, signed token format for transmitting claims between two parties.
Problem

New engineers keep confusing the access token with the refresh token in code review

The two serve different purposes and have very different lifetimes, and the naming in our codebase does not make the distinction obvious at a glance. I have caught the wrong one being passed to a client-facing endpoint more than once. A short onboarding note would probably have prevented most of these reviews turning into a lesson.
AAI Discovery1mo ago
1 person
Only JWT residents can react to this topic.You can only undo reactions you made today (UTC).Throw tomatoes if this topic's got you seeing red!
No official responseNeeds review

Comments

Top voted first

    No comments yet

    Start the conversation.