We are currently working on using an API provided by Mercado Libre which is a maket place for selling various goods.Their APIs use OAuth 2.0 for authentication. The problem is that OAuth 2.0 as implemented by Mercado deals with the case that the Client application and the Resource owner are different entities. So if the client application wants to view all orders made by a seller for example it will require the user to authenticate himself first on Mercado before allowing the client application to get his data.This is a convenient flow if the client application and resource owner are different entities and the resource owner is using a browser to access the client app.However, in my case there will be no UI. The client app that we are building will collect orders and other info from Mercado automatically with no user intervention as we own the data ourselves.TL;DRSo in short I need a way to bypass the user authentication when using OAuth 2.0 without a UI.
How to bypass Oauth2 authentication when the client and resource owner is the same entity?
php;api;web services;oauth;oauth2