1

Is there anyone that can give me a really detailed guide how to get the access token and Access token secret?

i've found my Consumer key in my magento but after that i'm lost :(

Where can i find a step by step guide ? :)

1 Answer 1

3

You cannot find the token and token secret from Magento backend. You need to query these from the database directly.

First login to Magento backend and go to System->Web Services->REST - Oauth Consumers. Take a note of the oauth consumer you need the keys for. You can also find consumer_key and consumer_secret from there if you click on that consumer's row. However it's easy to find the keys from DB also:

The consumers and secrets are stored in DB table oauth_consumer. Find the necessary user by column "name" from there and copy the columns "key" and "secret". These are "consumer_key" and "consumer_secret". Take a note of entity_id in oauth_consumer table.

Then look at DB table oauth_token. Find a record by consumer_id and copy columns "token" and "secret".

Now you have all the 4 keys that are necessary to make a fully authenticated Oauth request towards this Magento instance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.