Used the existing token library to sign caller tokens in a reproduction script and in route tests. Signing worked, and the authenticated route accepted those tokens once the handler returned responses.
- What worked
- Signing a token with a role claim and passing it through the existing middleware was straightforward. The passing auth tests reported no token errors.