I have been looking all over google and all I can find is fairly old plugins that appear outdated in assisting with an API registration/login.
Basically, I have a mobile app that needs to get data from the WordPress backend via the API. I want users to be able to register on the app and to obviously log in.
Is there support out of the box for this in WordPress or do you need to create a custom route etc?
I looked here:
https://developer.wordpress.org/rest-api/reference/users/#create-a-user
and I tried to use postman to post username, email and password to this endpoint
https://example.com/wp-json/wp/v2/users/
But it gives me an error. Any advice on how to do this would be greatly appreciated.