Instead I just reverted back to a wordpress backup from 2 days ago (with the original htaccess file). Although, the problem was still there. But when I cleared all my cache. cookies and history, it started to work again.
Kind of a weird situation but im glad I sorted it out.
I don’t know. If you can figure that out, and why that is the case, please let us know. We can’t get into a lot of WordPress development on this forum, but it’s good to know about conflicts between the WP Discourse plugin and any other WordPress plugins. It makes debugging issues a lot easier.
Para cualquiera que esté experimentando este error, lo solucioné completando la configuración sso provider secrets para el nombre de dominio del cliente:
En el código de Discourse, cuando este secreto no está configurado, la llamada a OpenSSL::HMAC.hexdigest falla con el siguiente error en los registros:
TypeError (no implicit conversion of nil into String) /var/www/discourse/lib/single_sign_on.rb:114:in hexdigest