Possibly by using the [JWT Authentication plugin](https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/)