I am having a reoccurring issue. I will be working on a workflow, saving along the way. About 1/5 save/publishes, I receive the below error. I'm not losing my Internet connection. I will have just saved the workflow a little while prior, and I will have been working in the workflow the entire time. I don't see how I am receiving an expiration error, if I'm not leaving the window open with no activity. Any ideas as to why this keeps happening? Its getting to be pretty aggravating, as I am having to do the same work more than once.
I found a solution that has been working for me. If you get the "Invalid JWT token" message, keep the workflow you're trying to save/publish open. Open up another browser tab/window, then open up a new workflow in designer mode. Once you've done that, go back to the original workflow and try to save/publish it again.