There is an instruction in the README.md file in the OAuth extension how to enable REST API endpoints:
$wgRestAPIAdditionalRouteFiles[] = "$wgExtensionDirectory/OAuth/experimentalRoutes.json";
But that will not work. Must be changed into:
$wgRestAPIAdditionalRouteFiles[] = "extensions/OAuth/experimentalRoutes.json";