- Strapi Version: 4.13.2
- Operating System: ubuntu
- Database: postgres
- Node Version: 16.20.2
- NPM Version: 8.19.4
- Yarn Version: 1.22.19
I am implementing a feature where user can click a button which will transfer strapi content from another environment (using yarn strapi transfer)
To do this, I created a custom controller in strapi, and to access it, user needs to be authenticated.
It works fine, but: after the data transfer, the JWT token is invalidated. So I have the latest data in my project but I am logged out after the transfer.
Is it possible to perform yarn strapi transfer and exclude the “users” entity (the users never change after the transfer, but maybe the IDs?)?
Or do you know any other ideas?