Comments (4)
I'm not so skilled to create the additional coding for this. I will use this workaround for now:
However, while it is not recommended, this behavior can be restored in the Admin by setting the Stores > Configuration > Services > OAuth > Consumer Settings > Allow OAuth Access Tokens to be used as standalone Bearer tokens option to Yes.
from magento-laravel-api.
What errors are you getting?
from magento-laravel-api.
401 Unauthorized
array:2 [▼
"message" => "User is not authorized to %resources"
"parameters" => array:1 [▼
"resources" => "Magento_Catalog::products"
]
]
More information:
https://developer.adobe.com/commerce/webapi/get-started/authentication/gs-authentication-token/
In previous versions of Commerce, the access token could be used on its own for token-based authentication. This behavior has been disabled by default due to the security implications of a never-expiring access token. Namely, if the access token is compromised it provides undetected persistent access to a store.
from magento-laravel-api.
ha, darn how unfortunate. classic Magento changing things up. I'm open to PRs but likely this will be tough because of the authenticators and the tokens. In this package, they are in a persistent config state vs. now they are dynamic on request. It's also important that we allow legacy (token-based) authentication as well.
To be frank, this is unfortunate to hear as BigCommerce, Shopify, and other major eCommerce platforms are still rolling with token-based authentication.
from magento-laravel-api.
Related Issues (20)
- Resolve custom attribute values
- Use Magento:: facade HOT 1
- Install Laravel 8.0 HOT 2
- Filtering data HOT 2
- Order Show undefined HOT 1
- Improve Documentation Readability HOT 2
- How can I get product special price data? HOT 3
- Add docblock helpers to specify API methods
- Add a nopages method for Orders? HOT 2
- SKU with slash HOT 6
- Changes to use configs from constructor for multiple stores purpose. HOT 3
- Order Create (PUT) method HOT 1
- Change order status HOT 1
- Update documentation to include links to the official Magento documentation
- Update documentation to correct the static method calls of non static methods HOT 1
- Posting data into magento. HOT 1
- oauth support HOT 2
- laravel 9 support HOT 1
- Looking for maintainers HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magento-laravel-api.