Trying to post PubSub message, getting 403

Can we look at the code you are using to generate your JWT signature?