Hello,
I use the "https://github.com/vgrem/phpSPO" library to retrieve the list of items from SharePoint. And i use the clientId and clientSecret that the client provided me.
Wen i try that on Postman, it works and I get all the elements. On the other hand, from the website it gives me this error:
Authentication failed: {"error":{"code":"-1, Microsoft.SharePoint.Client.ResourceNotFoundException","message":{"lang":"en-US","value":"Cannot find resource for the request _api."}}}
Any help will be appreciated.