Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8935797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T10:04:31+00:00 2026-06-15T10:04:31+00:00

I’m developing an ecommerce iOS app by using magento api. Currently I’m trying to

  • 0

I’m developing an ecommerce iOS app by using magento api. Currently I’m trying to request a token by using oAuth authentication.

Im using the following headers and they parameters for authenticate the user.

Request url =
http://beta.localhost.com/oauth/initiate?oauth_callback=‘http://localhost/testapp‘

OAuth realm=”http://beta.localhost.com/”,
oauth_consumer_key=”pr9vx4i46lc8jv8mmiu6z2w50p9an43x”,
oauth_nonce=”8QSHUZFRWRC5VGN3″, oauth_signature_method=”HMAC-SHA1″,
oauth_timestamp=”1354356514″, oauth_version=”1.0″,
oauth_signature=”ucKs4DyFbKv6MJ1l2%2Fx4NvF819A%3D”

im getting error:
oauth_problem=signature_invalid&debug_sbs=szeWMR2jNONabHyS3Ui7FIF3iPc=

I’ve tried everything same like twitter authentication, but im struggling with same problem

And also I’ll try to include those methods into advanced rest client, but im getting the different errors message

My Rest Client Response page screenshot.

enter image description here
enter image description here

Help me to continue this magento api by receiving the token for further steps.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T10:04:32+00:00Added an answer on June 15, 2026 at 10:04 am

    The issue is that the OAuth signature is wrong, which is clearly indicated by Magento error response.

    Debugging the signature process is quite a hard process for it to be done via StackOverflow questions. The best way for you to find and fix the error is to do it locally on your own computer. You need to go through the way Magento composes signature (check Zend_Oauth_Http_Utility::sign() method, which will lead you to the Zend_Oauth_Signature_Hmac class) and compare the process step by step with the one at the iOS side. This will help you to find the difference.

    Most often such an issue arises because of three reasons:

    1. Wrong order of data parts (in current case – your ‘oauth_*’ parameters), processed to get the signature.
    2. Mistake in signature algorithm, when implemented by oneself
    3. Wrong encoding done in order to convert the binary signature to a string and pass it via HTTP

    Comparing the Magento and iOS processes and their interim results, will help you find the step, where they start to differ. Thus you will be able to understand, what needs to be fixed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
We're building an app, our first using Rails 3, and we're having to build
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I am using Paperclip to handle profile photo uploads in my app. They upload
I'm making a simple page using Google Maps API 3. My first. One marker
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I am reading a book about Javascript and jQuery and using one of the
I am trying to understand how to use SyndicationItem to display feed which is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.