WooCommerce WordPress Installation Guide
Log in to your WordPress admin panel as an Administrator.
- Go to Plugins in the left menu, then click the Add New button at the top.
- Search plugins for "breadbutter"
- Click "Install Now" for the Bread & Butter IO plugin
In Bread & Butter, navigate to Providers, then to Default Rules and enable or disable the Identity Providers you want to have on your login page:
In the left pane in WordPress, go to Bread & Butter, and copy the Callback URL.
In Bread & Butter go to the App Settings
- Set Enable Callback URL to ON.
- Paste the Callback URL into the Callback URL field.
- Leave your website in the Destination URL field.
- Click anywhere outside the text box to save.
Next, copy the CORS Allow URL
from the WordPress Plugin, and paste it into the CORS Allow List
on the App Settings
page, and click Add
Take that App ID, and paste it into the WordPress plugin setup for App ID.
On the App Settings
page in Bread & Butter, scroll down to App Secrets
, click Generate Secret
, and copy your App Secret
Take that App Secret, and paste it into the WordPress plugin setup for App Secret.
Go to the Global Configuration tab in the WordPress Plugin setup, and Enable 'Continue with' On All Pages. Click Save Changes
You can also choose the position of the Continue with, your button theme, and other options here.
Alternately, if you only want Analytics enabled, you can leave Enable 'Continue with' On All Pages. off.
In your Wordpress Admin, go to Settings and ensure that the New User Default Role is set to Customer, to ensure that users who register via SSO receive the same Role as users who register via WooCommerce.
Return to your WooCommerce site's login page. You should now see SSO sign in options available. If enabled, the Continue with widget will also load.