Simple Chrome extension for copying BigCommerce impersonation session of current active tab to local Stencil (defaults to http://localhost
). Useful for production where you can't just edit the password, or if you don't want to copy over the cookies manually yourself.
You need a browser with Chrome extension support for these:
- Clone this repo or download the source code ZIP of this repo and extract it.
- Go to your browser's Extensions page (e.g. chrome://extensions/ for Chrome, brave://extensions/ for Brave, etc.).
- Click Load Unpacked then select the folder of the project.
- Impersonate from the admin control panel.
- While in the newly opened tab, open the extension. You can also bookmark the extension so that it's pinned.
- If you are accessing your local Stencil on localhost (e.g.
http://localhost:3000
) you can just click Copy Session. If you are using the local IPv4 hosthttp://127.0.0.1
or tunnelling through a different URL, provide that in the target URL first. Format is<protocol>://<host>
(e.g.http://localhost
,https://somewhere.trycloudflare.com
, etc.). - Go to where you are serving the local Stencil server, it should now load the impersonated customer.
Important
Make sure your local Stencil matches environment with the storefront where you copied the impersonation session from.