WP Discourse 1.3.0 Release

WP Discourse 1.3.3 is now in the WordPress plugin repository. It makes a few changes. The biggest one is that it’s now possible to automatically create and login Discourse users when using WordPress as the SSO provider.

It also:

  • moves the SSO Provider and SSO Client options into separate sub-tabs
  • adds some inline documentation to the plugin’s options pages
  • removes the connect status check from all options pages except the ‘Connection’ options tab (to make the switching tabs a little snappier)
  • makes a few code changes to improve the plugin’s efficiency

To use the auto-create user option, you need to select the Discourse SSO setting ‘enable all return paths.’ If you want to use this option and you have previously added an iframe to your site to auto-login users, you should remove that code before enabling the option.

The auto-create user option lets you set two possible return paths to WordPress after the user is created/logged-in on Discourse:

  • ‘Redirect After Discourse Login’ - defaults to your site’s home_url
  • ‘New User Redirect’ - a redirect that is used once, when a Discourse user is first created (useful for a welcome page)

From the user’s point of view, the redirects should be seamless - they just log the user into Discourse and then send them back to WordPress.

If these changes cause any issues, please let me know.

If any of the inline documentation isn’t clear, suggestions for improvements would be welcome.

11 Likes