How to sign a url with jwt

In this case, sounds very similar to Get tokens for users who don't exist

Mentioned approach there is very basic; maybe that’s already sufficient for you. It doesn’t involve the JWT at all.