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

Use Integration token for API authorization #26

Closed
sanjeevyadavIT opened this issue Jul 5, 2019 · 0 comments
Closed

Use Integration token for API authorization #26

sanjeevyadavIT opened this issue Jul 5, 2019 · 0 comments
Assignees
Labels
Type: Enhancement New feature or request

Comments

@sanjeevyadavIT
Copy link
Owner

Is your feature request related to a problem? Please describe.
Currently the app uses admin login credentials to get admin access token for API authorization. Every time app is started a new token is requested, if we create integration token, we don't need to hit API every time to get access token

Describe the solution you'd like

  1. Remove code that uses /V1/integration/admin/token API
  2. Manually provide an integration token in magento.js file, which will be used in place of admin access token

Additional context
consult Magento 2 API doc

@sanjeevyadavIT sanjeevyadavIT added the Type: Enhancement New feature or request label Jul 5, 2019
@sanjeevyadavIT sanjeevyadavIT self-assigned this Jul 5, 2019
@sanjeevyadavIT sanjeevyadavIT moved this from To do to In progress in MageCart Roadmap Jul 5, 2019
sanjeevyadavIT added a commit that referenced this issue Jul 5, 2019
descripton: Removed the module that rely on admin login credentials to generate admin access token.
In it's place use integration token to provide authorization to API

clode #26
@sanjeevyadavIT sanjeevyadavIT moved this from In progress to Done in MageCart Roadmap Jul 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant