I would like to create users using the API rest
/api/v1/users.register endpoint to manage people before there first connection (put them in the right rooms, …).
The fact is that I am using my custom OAuth2 connection for the authentication, with OAuth2Server coming from the npm meteor/rocketchat:oauth2-server package.
So, how can I link the registration with the OAuth ? The password is required, what should I write ?
Server Setup Information
- Version of Rocket.Chat Server: 2.4.11
- Operating System: Ubuntu
- Deployment Method: snap
- Number of Running Instances: 1
- NodeJS Version: 8.17.0
- MongoDB Version: 3.6.14
- Proxy: caddy
Thank you for your work !