Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuth Failed. oauth_problem=Consumer+key+has+expired #12032

Closed
ajayak opened this issue Nov 5, 2017 · 5 comments
Closed

OAuth Failed. oauth_problem=Consumer+key+has+expired #12032

ajayak opened this issue Nov 5, 2017 · 5 comments
Labels
Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release

Comments

@ajayak
Copy link

ajayak commented Nov 5, 2017

Getting status as Unauthorized and description as oauth_problem=Consumer+key+has+expired when making Request to oauth/token/request to get oauth_token.

Preconditions

  1. Using Magento 2.2

Steps to reproduce

  1. Create an Integration. Name it "test" and enter the admin password
  2. On the API tab, set Resource Access to All
  3. Click save and then activate the service.
  4. Copy Consumer Key and Consumer Secret to make the call to oauth/token/request.

Expected result

I should get OK response with oauth_token in body

Actual result

  1. I get
    StatusCode: Unauthorized
    Content: "oauth_problem=Consumer+key+has+expired"

Note: All the operations are done under 2 minutes. Full Request URI is http://local.magento/oauth/token/request

@magento-engcom-team magento-engcom-team added the Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed label Nov 5, 2017
@orlangur
Copy link
Contributor

orlangur commented Nov 5, 2017

Hi @ajayak, please check if #10423 (comment) works in your case.

@ajayak
Copy link
Author

ajayak commented Nov 5, 2017

Hi @orlangur,
I have already activated the integration but still getting this error.

@aohlrogge
Copy link

I am having this exact same problem. I have increased the expiration and timeout in the Store Configuration, however no matter what they are set to I always get "oauth_problem=Consumer+key+has+expired"

@magento-engcom-team magento-engcom-team added 2.1.x Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release labels Nov 9, 2017
@magento-engcom-team
Copy link
Contributor

@ajayak, thank you for your report.
We've created internal ticket(s) MAGETWO-83526 to track progress on the issue.

@magento-engcom-team
Copy link
Contributor

Unfortunately, we are archiving this ticket now as it did not get much attention from both Magento Community and Core developers for an extended period. This is done in an effort to create a quality, community-driven backlog which will allow us to allocate the required attention more easily.

Please feel free to comment or reopen according to the Issue reporting guidelines
the ticket if you are still facing this issue on the latest 2.x-develop branch. Thank you for collaboration.

@magento-engcom-team magento-engcom-team removed the Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release label Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release
Projects
None yet
Development

No branches or pull requests

5 participants