How to integrate jwt auth?

Right now I’m trying to create mobile apps using flutter, is it possible to implement jwt based auth token in erpnext?

You would most likely create an OAuth Client, then use that within your application. I believe the client type you will need is “Authorization Code” and then what is given to you for your refresh and access tokens should allow you to then query the dependent application’s endpoints, providing the access token.

Thanks for the answer, I will try to implement thats

Setting up ERPNext as oauth2 provider << discusses the setup.

https://frappeframework.com/docs/user/en/guides/integration/rest_api/oauth2 << has the endpoints.