This tutorial will come in very handy if you’re thinking to allow your users to use the same password on multiple sites running on Memberium for ActiveCampaign. So without any further ado, let’s start.
After you’ve set everything, here’s how it works:
1) New user signs up and password generator gets run for all the sites
2) Hashed password is synced to the selected Secure Password Sync Field, so other sites can access it
3) Secure Sync Automation will run which will sync all the sites using the contact update webhook to make sure all other sites are updated with the change
4) User can now login on all the sites using the new password
Prerequisites:
- All sites should be running on Memberium for ActiveCampaign.
- All sites should have same CRM Password field.
- All sites should have same Secure Password Sync Field set.
- All sites should have same Secure Password Sync Automation set.
Step 1: Password generation automation
Password generation sequence is the sequence in which you’ll put password generation web hook for all of your websites.
This automation can look like this. In this example, we have two sites:
Step 2: Contact Update Webhook automation
For your all sites, you’ll need to create an automation which runs the contact update webhook. The webhook will be different for all the sites and here’s the example link. Please note that you need to change AUTH_KEY and example.com to your website domain. You can find your auth key in Memberium => Settings => Web Hooks/Links tab => Web Hook Auth Keys field.
https://YOURDOMAIN.COM/?type=contact&key=AUTHKEY
As you can see from this screenshot, there’s one automation which will run the contact update webhook of all the sites. On the screenshot above we have tag added trigger, but that’s not needed, since you’ll actually select this automation in the “Secure Password Sync Automation” field.
Once you’ve created this automation, you’d need to select it from Memberium > Setting > Login > Secure Password Sync Automation. Note that you’ll need to select this same automation on all your sites.
Step 3: Configuring the Password field
In this step, you’ll need to have a Password field set from Memberium > Settings > Login tab.
The “CRM Password Field” is where you’ll need to select your password field. This needs to be the same for all sites, and if it’s already set, then you’re good and you can proceed to the next step.
Step 4: Configuring the Secure Password Sync field
Go to Memberium > Settings > Login tab and here you’ll find “Secure Password Sync Field”.
This must be a different field than the password field that you’ve selected in step 1.
Basically, this Secure Password Sync Field copies the encrypted password into an ActiveCampaign contact field, and then the encrypted password is pushed to your other sites using Webhook.
You’ll need to ensure that on all the sites, you should use the same field in the Secure Password Sync Field. For example, if you’ve used “Membership Password” on one site, then you’ll need to use the same field for all other sites also.
Step 5: Install Webhook
If you’ve not already installed the Webhook, then go to Memberium > ActiveCampaign and click on Web Hooks tab.
On this page, select your list containing users, or all list and click on “Reinstall Webhooks” button.
We also have a detailed tutorial on this which you can check out from here.