Also JWT should be discouraged. Mostly because of foot guns:

paragonie.com/blog/2017/03/j…