Woocommerce integration with Discourse

This should do it.

https://github.com/discourse/wp-discourse

Single Sign On

The plugin comes with optional SSO functionality which lets you use your WordPress site as the Single Sign On provider for your Discourse forum.