VRETA

JWT

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

Two services disagreed about whether the expiry number was in seconds or milliseconds

One of our teams generates tokens with a library defaulting to one unit and the consuming service assumed the other, so tokens appeared to expire either instantly or centuries from now depending on which direction the bug ran. It passed testing because nobody tried a token near the actual expiry boundary. We now write the unit convention in a comment everywhere it is used.
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.