User management system for WordPress, Node, GitLab and CLI

Solution:

If you are using WordPress, you need to use WP REST API. For example, you can use this solution, as you use JS, also see to the side with API solutions like this.