Starting from recent Magento (and Adobe Commerce) versions (ver. 2.4.4) Adobe introduced a new configuration in the Oauth section.
By default Magento no longer allows to access API using the sole integration Access Token.
In order to restore the old behaviour you have to set to yes the following setting:
Stores > Configuration > Services > OAuth > Consumer Settings > Allow OAuth Access Tokens to be used as standalone Bearer tokens
Alternatively by command line:
m2 config:set oauth/consumer/enable_integration_as_bearer 1
See Adobe Documentation: https://developer.adobe.com/commerce/webapi/get-started/authentication/gs-authentication-token/
Leave a Reply