BigCommerce Provisioning and Deprovisioning
BigCommerce Provisioning allows to create account in a simplified way and link BigCommerce users' account to their existing or new apps. BigCommerce Provisioning automates user provisioning with their identities.
Provisioning saves time when setting up new users and teams, and also manages access privileges through the user lifecycle. miniOrange can create, read, and update user accounts for new or existing users, remove accounts for deactivated users, and synchronize attributes across multiple user stores.
BigCommerce User provisioning and deprovisioning actions are bi-directional, so you can create accounts inside an external application and import them into miniOrange, or alternatively create the accounts in miniOrange and then push them out to any linked external applications.
BigCommerce Deprovisioning means deleting a user and removing their access from multiple applications and network systems at once. Deprovisioning action is triggered when an employee leaves a company or changes roles within the organization. The deprovisioning features increase your organization's security profile by removing access to sensitive applications and content from people who leave your organization.
Prerequisites
- Prerequisites to provision users in BigCommerce
- Setup BigCommerce as an Authentication source in MiniOrange.
- You can follow this link to complete the prerequisites if haven’t done already.
Provisioning & Deprovisioning Scenarios
miniOrange provides Provisioning solutions for all scenarios of user management (provisioning), which includes AD Integration, LDAP Integration and automated provisioning for all External Applications such as BigCommerce, Google Workspace, Workday, etc
Follow the Step-by-Step Guide given below to setup BigCommerce Provisioning
1. Setup Provisioning for BigCommerce
- Login into miniOrange Admin Console.
- Go to Users → User Profile Field option. Add an attribute with field name as id and field type as textbox.

- Inorder to enable provisioning of Address attributes, also add the attributes with field name as address1, city, state or province, postal code and country code. Set field type as textbox. Note the custom attribute number for later use.

- Go to Provisioning section. Inside Setup Provisioning, select BigCommerce from the Dropdown menu.

- For enabling Provisioning of Bigcommerce, mapping of id attribute is mandatory. Additionally, for address provisioning; address1, city, state_or_province, postal_code and country_code attribute should also be mapped.

2. Import Users
- To import the users from Bigcommerce, go to the Import Users tab.
- Select the BigCommerce from the drop down menu and click on import.

- Once the import is done. You can view these users in Users >> User List
3. Create Users
- To create a user in miniOrange , Go to Users >> User List >> click on the Add User button.
- Fill out user basic information and click on Create User button.

4. Edit Users
- To update user profile, Go to Users >> User List.
- Select a particular user and in Actions dropdown select Edit.

- Fill out user updated information and click on Save button.

5. Delete Users
- To delete user, Go to Users >> User List.
- Select a particular user and in Actions dropdown select Delete.

- A pop up will appear in which click on Yes button.

6. BigCommerce Webhook Setup
Syncing BigCommerce users in Real-time
Creating, updating or deleting user in BigCommerce will automatically perform the respective operation in miniOrange. In order to do this, you have to follow the steps given below.
- Login to your miniOrange account from here.
- If you already have SSO setup for BigCommerce using miniOrange, then you can simply edit the existing BigCommerce app and copy the app secret.
- Else, refer the following steps:
- Go to Apps -> Add Application -> JWT -> BigCommerce.



- Give a custom app name. You can give any url in place of Redirect URL.
- Turn off Show On Enduser Dashboard option. Save the app.

- Now, Edit the saved app. Click on Customize near Client ID and fill the Client Id obtained from BigCommerce credential file.
- Copy the App secret and save it somewhere for later use.
- Copy Access token from the file and paste it in Client Token field.

- Save all the changes.
- Now, Webhook can be created by following two ways:
- Open this website.
- Enter Access Token in place of X-Auth-Token. Enter store_hash.

- Inside body as JSON, enter following details
{
"headers":
{
"app-secret": "appSecret"
},
"scope": "store/customer/*",
"destination": "https://login.xecurify.com/moas/provisioning/api/webhook/bigcommerce/syncusers/customer_id",
"is_active": true
}
- Replace appSecret with the app secret obtained from miniOrange BigCommerce app.

- At last, click on Send API Request button.
- Now, Creating/Updating a user in BigCommerce will Create/Update the user in miniOrange.
- Alternatively, using Postman app, perform a Post call to the URL
https://api.bigcommerce.com/stores/{Store_hash}/v3/hooks
- Set header as X-Auth-Token and set its value as the Access Token obtained from BigCommerce credential file.

- Inside body as JSON, enter following details
{
"headers":
{
"app-secret": "appSecret"
},
"scope": "store/customer/*",
"destination": "https://login.xecurify.com/moas/provisioning/api/webhook/bigcommerce/syncusers/customer_id",
"is_active": true
}
- Replace appSecret with the app secret obtained from miniOrange BigCommerce app.

- At last, click on Send button.
- Now, Creating/Updating a user in BigCommerce will Create/Update the user in miniOrange.
External References