'Should I POST new user data directly to Keycloak or make the post through redux?

I started recently working at a company that built a webapp with React,redux and uses Keycloak for AUTH, Lead developer gave me a task to create a form in admin panel and make a form to create new users and POST the data to Keycloak endpoint he gave me, Question is: Should I handle the POST request directly to the endpoint he gave me, or should i save the form data to redux global state and then make the POST request



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source