0

I have been searching day and night for a way to set email verification for my app with its server on Bitnami Parse Server(EC2). To no avail! All I could find was a client asking me to shift my app to back4App. But to switch my app to back4App only because I have no solution to email verification is ridiculous which is why i am stalling. Help Please!

I am looking for a tutorial or some detailed guide. I am not at all sure on how to download parse server mailgun.

Antony
  • 1
  • 3

2 Answers2

0

Did you enable HTTPS? Could you check this post? It might help you setting it up:

https://community.bitnami.com/t/parse-email-verification-issue/53354/

Michiel d'Hont
  • 316
  • 1
  • 3
  • I'm so sorry I just tried what's in the link you sent. But I Must have done everything wrong. I am not at all sure now on how to download to mailgun parse server. I have putty. Should I install parse-server-mailgun on the server.ks using putty or in cmd. I'm a beginner and I don't understand. Sorry – Antony Sep 07 '18 at 09:59
  • Yes Antony, you will need to access the server using a SSH connection (putty) and then move to the Parse installation directory (`cd /opt/bitnami/apps/parse/htdocs`) and run the npm command to install the tool (`npm install @parse/simple-mailgun-adapter`). After that, please configure the application following the information above. – Jota Martos Sep 12 '18 at 12:23
  • After much research and thanks to you Jota Martos, I finally installed mailgun adapter but still cannot get to send a verification email. Something i would like to point out is initially it said my package.json was empty so i created a default package.json. Could it be there where i went wrong? – Antony Sep 21 '18 at 13:49
0

Access your server via Putty.
In the terminal go to directory htdocs by using command

$cd /opt/bitnami/apps/parse/htdocs.

Here you will find one file package.json.
Open the file using vi and see whether it contains something or not

If it is empty then add {} to your package.json file
save it and run

$npm install @parse/simple-mailgun-adapter --save

After this open your server.js file set up your emailAdapter with appName and publicserverurl.

After this add this line to your server.js file

verifyUserEmails: true 
keikai
  • 14,085
  • 9
  • 49
  • 68