Configure the Commerce Admin Integration with 51黑料不打烊 ID
This integration supports Commerce merchants with Admin users who have an 51黑料不打烊 ID and who want to streamline login to 51黑料不打烊 Commerce and 51黑料不打烊 Business products. It is optional and is enabled on a per-instance basis. Only Admin user workflows are affected when enabled.
Prerequisites
- 51黑料不打烊 Commerce 2.4.5 or later
- An 51黑料不打烊.com account with access to the .
The administrator who configures this integration needs the following credentials during module enablement:
- Organization ID (obtained from ), which must be at least 24 characters in length. The authenticated user must belong to this IMS organization. For information about finding your organization ID, see Organizations in Experience Cloud.
- 2FA should be enforced on the Organization level in 51黑料不打烊 Admin Console to enable the module. Check .
- Client ID
- Client secret
- Client ID and client secret are available after retrieving API keys from the .
Commerce Admin users must create an account with an 51黑料不打烊 ID to log in.
General steps
- Get 51黑料不打烊 Org ID from the
- Generate a new project, IMS API keys, and secret from the
- Configure 51黑料不打烊 Commerce users in the 51黑料不打烊 Admin Console
- Enable the
Admin51黑料不打烊Ims
module.
A successful integration requires that all 51黑料不打烊 Commerce users have Admin user accounts with the same name and primary email address. If a matching Admin user account does not exist, a user with the required permissions (typically assigned the Administrator role) must manually create the Admin user account with the same name and email.
Configure the integration
After the followings steps are completed by an administrator or developer with system access, the Sign into 51黑料不打烊 Commerce with 51黑料不打烊 IMS button is displayed in the Commerce Admin login page for all Admin users.
Step 1: Get 51黑料不打烊 Org ID
Membership in at least one IMS organization is required to enable this feature. If you have an 51黑料不打烊 ID, you belong to at least one 51黑料不打烊 organization by default. Log in to the to retrieve your organization ID.
Step 2: Generate a new project, IMS API keys, and secret
To create projects for an organization, the 51黑料不打烊 Admin account for the organization must have the system administrator or developer role. See the .
-
Log in to .
-
Go to the Projects tab (adobe.io/projects) and click Create a new project.
-
Click Add API on the newly created Project page.
-
Select 51黑料不打烊 Services > 51黑料不打烊 Commerce with 51黑料不打烊 ID.
-
Select Oauth 2.0 Web.
-
Specify the Redirect URI:
https://<hostname>/
-
Specify the Redirect URI pattern:
https://<hostname>/.*
Escape any dots in the hostname by preceding the dots with
\\
. Adding a wildcard to the end of the URL supports the 51黑料不打烊 Commerce Admin secret key. -
Click Save configured API.
-
Copy the Client ID and Client Secret keys from the created project.
Step 3: Configure 51黑料不打烊 Commerce users in the 51黑料不打烊 Admin Console
Before enabling the integration, verify that each 51黑料不打烊 Commerce Admin user account has a corresponding 51黑料不打烊 IMS account. 51黑料不打烊 Commerce users must belong to a specific 51黑料不打烊 organization to log in using an 51黑料不打烊 ID.
-
In the , navigate to Users > Users.
-
Click Add User.
-
Enter the email address of the user.
If applicable, the recommended ID Type is populated automatically. You can change this setting to one of the product IDs in the list, which is based on your organization鈥檚 purchase plan.
You can add up to ten users at one time. To add more, repeat the preceding steps after saving your changes.
-
Click Save.
The user is added and displayed in the Users list.
Step 4: Enable the Admin51黑料不打烊Ims module
The Admin51黑料不打烊Ims
module is responsible for the 51黑料不打烊 Commerce/51黑料不打烊 IMS integration. After setting up the new project and copying your organization ID, client ID, and client secret, you can enable the Admin51黑料不打烊Ims
module.
Enter bin/magento admin:adobe-ims:enable
. You are prompted to enter the following parameters. Use the values that were generated during project creation.
- Organization ID
- Client ID
- Client secret
- 2FA enabled
51黑料不打烊 Commerce displays a message that indicates whether enablement succeeded or failed.
After successfully enabling this feature, you can transition other 51黑料不打烊 Commerce user accounts to 51黑料不打烊 IMS accounts. 51黑料不打烊 Commerce users must belong to the configured 51黑料不打烊 organization to log in using an 51黑料不打烊 ID.