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:
/api/extensions/users-permissions/services/Jwt.js

I’m trying to do the same tihng on V4, but it doesn’t seem to override it:
/src/extensions/users-permissions/services/jwt.js

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

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