Used the JWT library to verify company-issued bearer tokens and extract tenant and team claims with cached key refresh. Verification behavior was predictable in unit tests.
- What worked
- Token parsing and claim extraction were clear and easy to test with fallback logic.