How to sign a url with jwt

If my routes will be protected then I still have to use JWT, I guess.