Email validation account link wrong base url

Hi @DMehaffy i tried your solution and it works now.
I overridden the sendEmailConfirmation method in plugin/users-permissions/services and i changed sur URL sent with my frontend url application (environnement variable) + the token to update an user.
After i create the specific page where I do the GET request auth/confirmation-email with the token passed in params tu validate the account.
For overridde methods in my backend strapi I had to do another route for the email confirmation and copy past the code of the original in the new method. I can’t directly override the existing route auth/email-confirmation.
I don’t know if it is normal, btw it works.
Thanks for your help