How to Manually Verify/Add Discourse User from Wordpress Website

Hi team,

I have a wordpress website that I connected via SSO to my Discourse forum.

I am currently writing a reply within my Discourse forum and I want to tag a user from my wordpress website, but the user is not showing up when I type @

My guess is this wordpress user has never visited my Discourse forum, which is why they don’t show up when I type @

Is there any way I can mention this user in my post?

I know the user would love to get involved in this particular forum conversation. I just need to figure out how I can ping them with some sort of notification.

Thanks for any advice :clap:t2::clap:t2::clap:t2:

You cannot mention the user, bu you can invite him/her via email to join that topic/PM.
Use the Invite button at the bottom the topic:

and then add the user’s email

2 Likes

Thanks for the reply.

I tried adding his email address but I receive the following error.

I can confirm that he is indeed a user on my wordpress website.

And this is the first time I have tried manually inviting him.

Any insight is welcome. Thanks again!

I think that’s a bug. You can’t invite users when SSO is enabled, but the invite button is still shown.

6 Likes

Oh ok, thanks for the explanation Simon.

You could try enabling the Create Discourse User on Login setting on the in the Discourse WordPress plugin’s SSO Provider tab. With that enabled, users logging into your WordPress site will be created on Discourse.

Thanks for the reply Simon.

I checked and it looks like I already have that box checked.

I also verified that I have “sso allows all return paths” checked.

Maybe another bug? Or a bug specific to my site?

Not a huge deal either way. Thanks for the help and assistance :+1:t2:

You can fix this by forcing a logout on Wordpress, so the Discourse account is created when they log in again.

3 Likes