How To Setup WordPress Single Sign On (SSO)

The GoToMyAccounts Single Sign On plugin for WordPress allows you to have direct links into your customer portal for any logged in WordPress user. Your WordPress user's email must match the corresponding user's email address in the GoToMyAccounts web portal.

  • To enable the plugin, login to your GoToMyAccounts web portal (requires admin permissions). On the left side menu, click Integrations, and then click "SSO Tokens".
  • On the SSO Tokens page, you can create new tokens and remove existing tokens. You cannot edit or view existing tokens. This is a security feature. Because of this, you must copy the token and save it in a safe place. Or, just paste it into the WordPress plugin settings page. If you need to generate a new token later, its as easy as coming back to the SSO Tokens page.

  • Once you have the SSO token, you will want to login to your WordPress admin site.
  • Go to the Plugins page and then click "add New".

    Feb 19, 2020: Note: The plugin is showing as being closed by Wordpress. We are working with Wordpress to get this resolved. In the meantime, you can contact us at for guidance on how you can still use the integration.

  • After adding the plugin, be sure to "activate" the plugin.
  • You will now have a new item in your settings menu called "GoToMyAccounts SSO". Click that menu item.
  • On the settings page, you need to first populate two items. Set your web portal address (without http:// or https://) (Also do not place any trailing "/"). Example:
  • Next, paste in the SSO token you created in an earlier step.
  • Save these settings
  • Now let's create the first SSO link. Go to Pages and create a new page.
  • Name your page whatever you like, but for this example let's call it "Customer Dashboard".
  • Save the page. You do not need to enter any content. This page is simply a placeholder for the redirect.
  • Now go back to the GoToMyAccounts SSO settings page and we will add the redirect.
  • The dropdown list of pages should now contain the page you just created.

  • Select the page, and then enter the web portal page that it will redirect to. In this example, we will enter "customer_dashboard.html". But you can enter any valid portal page that your user can access.
  • Click "save"
  • Now that we have the redirect created, let's add that page to a menu and try it.
  • In your WordPress admin site, Select "Appearance", and then "Menus".
  • Choose an active menu to work with (or create a new one if you don't have any).
  • Select the "Customer Dashboard" page we just created and then click "Add to Menu".

  • Adjust the menu ordering as needed, and then save the menu.
  • You are now ready to test the menu item and the redirect.

     Make sure you are logged in with a WordPress account that has an email matching a customer in your web portal. Again... the emails need to be the same, or the SSO authentication will be rejected.

  • When clicking on the Customer Dashboard menu item, the SSO plugin should work its magic and redirect you directly to the customer dashboard page.

Tip: In your GoToMyAccounts portal, you should also create custom menu items that allow your users to go back to your WordPress pages. You can set that up in your GoToMyAccounts settings.