Comment vérifier/ajouter manuellement un utilisateur Discourse depuis un site WordPress

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:

Vous ne pouvez pas mentionner l’utilisateur, mais vous pouvez l’inviter par e-mail à rejoindre ce sujet ou cette messagerie privée.
Utilisez le bouton Inviter en bas du sujet :


puis ajoutez l’adresse e-mail de l’utilisateur.

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.

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.

image

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.