Client Instructions for WP Configuration

If you're configuring your WordPress site to integrate Cobalt Embedded Web Elements and Single Sign On (SSO), you'll need the following value, provided by Cobalt, before you begin:

1) Your widget site URL

2) Your Web Element Designer URL

3) Your SAML Metadata URL

Once you've been provided these values you can take the steps below:

1) Install and Configure SAML plugin

You will need to set up your site as the Service Provider (SP) using MiniOrange Premium for authentication on your website.

  1. Note: If you’re not familiar with setting up an SP using MiniOrange in WordPress, refer to this walkthrough.
  2. If you have a different preferred SAML plugin, we can help you with that as well (though we will need time to confirm that we can work with that plugin).

In whichever, SAML plugin you use, be sure to set up your various CMS user roles, in their respective Role Mapping fields (e.g. Active Contacts CMS User Role would be assigned to Subscriber role).

 2) Create the Login Web Element page

Once Cobalt support has provided your Web Element Designer URL, your site content administrator will need to embed the login Web Element page for the system to use.

The HTML should look like the code block below, with the widgetized portal URL updated to reflect your widgetized portal URL.

<div id="cw-1056591808" style="width: 100%; height: 100%;" class="cobalt-widget" data-loading="true" src=""></div><script>var js,p=/^http:/.test(document.location)?"http":"https";if(!document.getElementById("cobalt-wjs")){js=document.createElement("script");"cobalt-wjs";js.src="";document.getElementsByTagName("head")[0].appendChild(js);}</script>

To grab this HTML, navigate to:

Your Web Element Designer URL and grab the HTML from the left hand side on the configuration pane. Insert this HTML into a page on your CMS. You MUST copy the HTML from the Web Element Designer.

3) Send metadata and Login page URL

Provide Cobalt support staff with the URL of the Login Web Element page you created as well as the SP metadata for the SAML Plugin. In MiniOrange Premium, it can be found here:

With those value, Cobalt Support will complete the configuration and respond to you when it is complete. Once we've confirmed that the configuration is working, you may then proceed with setting up all of the other embedded Web Elements that you would like to use.

NOTE (On WordPress and Cobalt Code):

With the latest versions of WordPress, changes make it so that, while you can embed Cobalt Web Elements, they will not appear. This is due to the newer versions not being able to handle jQuery. Refer to this article for details on how to address that.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk