How to integrate jwt auth?

Setting up ERPNext as oauth2 provider - #5 by revant_one << discusses the setup.

OAuth 2 << has the endpoints.