Creating a server using vapor and having issues

Yes, you need to investigate both errors. See whether App actually has a jwt property, and see what type use takes as a parameter and see whether hs256 exists.