Unauthorized register user with GraphQL

System Information
  • Strapi Version: 4.5.2
  • Operating System: VPS Ubuntu nginx
  • Database: sqlite
  • Node Version: 16.17.1
  • NPM Version: 8.15.0

Hello ! I am trying to register users with graphql unfortunately every time I try to register a new one I have this error that comes out:

I have all the permissions checked in the Admin panel. I tested both in development and in production the problem persists. Any idea how to fix this?

I just saw that the problem was related to enabling confirmation email in Settings > Advanced Settings. I am even more lost. Anyone got an idea?