SSO Wordpress Pardot Plugin

Pardot API and Getting Ready with Salesforce SSO Users Part 2 – WordPress Pardot Plugin Edition

In only a few weeks, Salesforce is moving all Pardot users to single sign-on (SSO) and all API integrations must use Salesforce OAuth.

If you’re adjusting the Pardot plugin on your WordPress website to get ready for these changes and, despite following the steps in our first blog, are hitting authentication errors, this blog may help.

In this post, we’re going to cover how to resolve common errors that may come up as you authenticate the Pardot Plugin in WordPress and the final step to authenticate user account settings for SSO.

1. Callback URL Error

After entering the Consumer Key, Consumer Secret and Business Unit, it’s time to click the “Authenticate with Salesforce” button. When doing so, if the button pulls up the following error on a new white page window, you likely have a problem with your connected app’s callback URL.

error=redirect_uri_mismatch&error_description=redirect_uri%20must%20match%20configuration

In order to fix this error, edit your connected app’s callback URL to be the URL of the Pardot plugin’s settings page. For example, the callback URL should be something similar to the following URL.

https://yourdomain.com/wp-admin/options-general.php?page=pardot

Generic OAuth Error

If your previous errors change to the following OAuth Error, don’t fret, we have you covered. This error can be caused by the OAuth scopes field on your connected app.

Edit the app once more and add both the “Provide access to your data via the Web (web)” and “Perform requests on your behalf at any time (refresh_token, offline_access)” options in addition to your Pardot API option that should have been added from the first blog.

Authenticate Your User Account Settings for SSO (without errors)

All that’s left to do now is to turn that ugly red text into beautiful green affirmation. Click “authenticate with salesforce” and use your Salesforce login credentials (with 2FA if enabled) to complete your SSO setup.

Get Ready for the SSO User Updates Coming in February

Hopefully, by following the steps above, you feel more prepared for the API and single sign-on updates coming up soon. What are other questions you have about the coming changes? And what have you done to prepare? Let us know in the comments.  

Published by

Kelly Michael Skelton

Kelly Michael Skelton is the Director of Digital Transformation at Fiber Optic Center. He loves helping sales and marketing departments become more productive and successful. Kelly is a 5x certified Salesforce professional, including the Pardot Specialist certification.

3 thoughts on “Pardot API and Getting Ready with Salesforce SSO Users Part 2 – WordPress Pardot Plugin Edition”

      1. I still need to check if the fix works.
        I updated the plug-in to version 1.5.1 on several of our websites but I have to wait about 1 week to see if it doesn’t loses the connection.
        Also noticed a new spike on API calls and need to check if it comes from the Pardot Connected Apps or something else.

Leave a Reply