If local logins are disabled

Hi,

starting a forum, completely new to discourse, hosted on DO, for some reason has issue with smtp or port issue. Now, wanted to find out if you have gone with google logins or social logins and no issue if local sign ups/logins is not in your forum

SMTP is blocked on DO by default. If you want to use mail, you’ll need to find a proxy somewhere. Lots of people have said that Mailgun is what works good for Discourse on the cloud but that is not something I have experience with.

This might be what you’re after:

Yes, you can use social login (Discord, Google, …) or Discourse ID (no setup) without SMTP. You’ll lose digests and email notifications, but if your goal is just a community it will work fine even with lower engagement (digests are designed to help retention).

great, i’ve tried sendgrid, mailgun & resend. have same issue, could be port issue, tried all ports. For now I want to see if social logins are fine, and get rid of local logins.

You can disable the enable local logins site setting if you wish to remove local logins. You can also try Discourse ID.

hello @abeen welcome :wave:
i’ve done numerous self-hosted installs with Mailgun and Resend on Digitalocean (and other cloud servers) - can you give more information on what issue you are encountering? are you editing your app.yml with the appropriate settings?

for Resend:

  DISCOURSE_HOSTNAME: <forum.yourforum.etc>
  DISCOURSE_DEVELOPER_EMAILS: <your-email@emailaddress.com>
  DISCOURSE_SMTP_ADDRESS: smtp.resend.com
  DISCOURSE_SMTP_PORT: 587
  DISCOURSE_SMTP_USER_NAME: resend
  DISCOURSE_SMTP_PASSWORD: "xxxx"

for Mailgun

  DISCOURSE_HOSTNAME: <forum.yourforum.etc>
  DISCOURSE_DEVELOPER_EMAILS: <your-email@emailaddress.com>
  DISCOURSE_SMTP_ADDRESS: smtp.mailgun.org
  DISCOURSE_SMTP_PORT: 2525
  DISCOURSE_SMTP_USER_NAME: <your.mailgun.acccount.email>
  DISCOURSE_SMTP_PASSWORD: "xxxx"