Magento Rest API Oauth authorization

Leave a comment

July 10, 2015 by jegadeesh29

Steps to follow oauth authorization in Magento rest api

1.Create consumer on back end System->REST – Oauth consumer

Consumer key Consumer secret

Consumer key
Consumer secret

2.By add consumer get auto generated

(i)Consumer key

(ii)Consumer Secret

3.Request for token:


Add params  oauth_callback:http:\\magentohost/adminScreenshot from 2015-07-10 15:09:35

4.By send this token request you will receive



Screenshot from 2015-07-10 15:10:01

5.oauth_token passing in get method


   oauth_token:token value got in previous step.

6.The response will be the login page.

7.Find form_key in html source code which is in the hidden input value.

And passed to post method.




Screenshot from 2015-07-10 16:41:10

8.Confirm :

Final step will be confirmation after getting Authorize application.Application request access to your account.

Screenshot from 2015-07-10 16:44:49





Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: