The discussion revolves around automating user creation in a Discourse forum via SSO when users register on a WordPress site. Per_Jacobsson1 explains that while they can create users via the API, users still face email verification issues, preventing seamless login. pfaffman suggests reviewing the WP Discourse plugin documentation and highlights that email verification is a common issue when WordPress doesn’t enforce email verification, especially with plugins like WooCommerce. pfaffman points to a specific section in the documentation explaining that Discourse requires verified emails, and the plugin may not handle this automatically in non-standard setups. The user is seeking a solution to bypass the email verification step or automate it within the SSO flow.
I am trying to solve an issue with an existing forum.
Our members can register on our site (Wordpress) and purchase a subscription.
They should then automatically get a login to our Discourse forum.
However at present they have to click on “discussion.genocidescholars.org” and they get the message that an account has been created and to check their email for a confirmation email which they need to click on.
We want this process to be automated, so I experimented by automatically creating a new user on Discourse via the API when a user signs up our our Wordpress website, and that worked fine. But then we you go to discussion.genocidescholars.org you are told:
“Login Error
An account could not be registered with the email address info@jejjcop.se. Please contact the site’s administrator.”
Is it not possible to use the API in this way or does it some how screw up the SSO process?
If you can think of any other solution to our problem I would be very happy to hear.
Have you looked at WP Discourse plugin installation and setup? There is information there about this issue. Are you using some non standard WordPress authentication plugin?
Thank you very much Jay, Ive looked at the page you linked to. I cant seem to find any specific information about this problem.
Can you point me to something in particular please?