magento / adobe-stock-integration

Magento Adobe Stock integration Community Project.
Open Software License 3.0
60 stars 92 forks source link

Adobe Stock profile image is not displayed #1851

Open sivaschenko opened 4 years ago

sivaschenko commented 4 years ago

Adobe IMS issue: https://github.com/magento/adobe-ims/issues/8

Adobe Stock profile image is not displayed and error is added to the magneto logs during login.

This is the result of removing "Creative SDK" API integration from console.adobe.io and switching to "Adobe Stock" API.

The bug is related to Adobe IMS project bug can be reproduced using Adobe Stock Integration

Preconditions (*)

Setup and configure Magento with Adobe Stock Integration

Steps to reproduce (*)

  1. Open Media Gallery (from i.e. Catalog -> Categories -> Content -> Category Image)
  2. Click "Search Adobe Stock"
  3. Click "Sign In" link in the top right corner
  4. Login to Adobe

Expected result (*)

User profile icon is displayed next to the user name

Actual result (*)

User profile icon is missing next to the user name

image

Error in the exception.log: Undefined index: user in /Users/sivashch/Projects/magento2/.modman/adobe-ims/AdobeIms/Model/GetImage.php on line 74

Cause

The call for user profile image to Behance API https://cc-api-behance.adobe.io/v2/users/me?api_key=#{api_key} is rejected with 403003 Api Key is invalid error.

Jira ticket: https://jira.corp.magento.com/browse/MC-38529