composer require el7cosmos/social_auth_discourse
Under Discourse admin site settings (/admin/site_settings/category/login
) enable setting enable discourse connect provider
and add a secret string to discourse connect provider secrets
.
The provided secret must match with the secret in Drupal configuration.
Configure the social auth discourse module in Administration » Configuration » Social API settings » User authentication » Discourse
or via URL admin/config/social-api/social-auth/discourse
Fill the Secret
setting with the same value as the discourse setting above.