Common auth stores
Addon to CS-Cart and Multi-Vendor allows administrators to log into two or more admin panels at once, if e-mail address of an account is the same in both stores and user is correctly logged in master store.
We start from installing an extension:
Add-on has to be installed in all stores, which are connected with shared login. Minimum quantity for "Common auth stores" is 2.
Next we configure add-on. One of the stores must be set as "master" - user logs into this store in traditional way (through login & password) and basing on this authorization he can automatically log into other stores. In add-on configuration for master store we set only store type, cookie name, its living time and salt. Salt must be the same for all stores connected with shared login.
Cookie name and salt can be any strings. Cookies can be also stores without salt, but we recommend typing it to increase security.
Other stores where add-on is installed are "slave" stores. After logging in to master, administrator or customer will be logged to slave instantly after opening admin panel/store, without typing access data. Add-on configuration in slave stores requires additional data: login and API key of account in master store(which has active access to API) and endpoint /api/users of master store. More information about API available here: https://docs.cs-cart.com/lates...
After configuring all stores, it is important to look into README file and apply a code change in all slave stores.
The exact process of shared login looks like that:
1. Administrator logs into master, using login and password.
2. Administrator opens slave admin panel.
3. He's immediately logged to slave without typing login and password.
Add-on works in exactly the same way for customers - logging with login and password to master store, automatically logs customer to all slave stores.
Minimum quantity for "Common auth stores" is 2
We invite you to shopping!
- CS-Cart Ultimate
- Multi-Vendor Ultimate
- Multi-Vendor PLUS
No posts found