Overriding JWT token issue

System Information
  • Strapi Version: 4.1.2
  • Operating System: MAC OS
  • Database: Postgres
  • Node Version: 14
  • NPM Version: 7
  • Yarn Version:

On Strapi V3, I can override the JWT issue method, by copying it to:

I’m trying to do the same tihng on V4, but it doesn’t seem to override it:

Any ideas what am I doing wrong? Or how should I do this?

I basically need to customize the expiration date for a token.