It depends. You can either have all user logins handled by WordPress (WordPress as the SSO Provider), or have users login to either Discourse or WordPress separately, but give them the option to login to WordPress through Discourse (WordPress as the SSO client.)
If you want to have all logins through WordPress then use WordPress as the SSO provider. User’s who already have accounts on Discourse will be matched by their email address.
Do you have the same email address for both? If not, you will have to change your Discourse email address to match your WordPress email address.
It would be possible to write a script to import existing Discourse users to WordPress automatically.