I need to create the Rest API in magento in 1.x or 2.x and I need to expose to the third party , I have doubt on the authentication how its going to be carried out for the OAUTH
->How the 3rd party get the consumer key ,Request token and Access token if all are other is Automatic process for the usage of the rest API using OAUTH.
->The process is getting the consumer key ,Request token and getting the Access Token.
If anybody done with same scenario.