Description
New Issue Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
- I can reproduce the issue with the latest version of Parse Server.
Issue Description
I am building an android app and I am using Parse server through AWS EC2, so the issue is when I try to apply the method of Email verification and password reset as mentioned here: https://docs.parseplatform.org/android/guide/#resetting-passwords , and then run the app an error shows up in the logs
2021-04-03T14:38:52.996Z - Error handling request: ParseError: An appName, publicServerURL, and emailAdapter are required for password reset and email verification functionality.
at UsersRouter._throwOnBadEmailConfig (/opt/bitnami/parse/lib/Routers/UsersRouter.js:312:15)
at UsersRouter.handleResetRequest (/opt/bitnami/parse/lib/Routers/UsersRouter.js:320:10)
at /opt/bitnami/parse/lib/Routers/UsersRouter.js:421:19
at /opt/bitnami/parse/lib/PromiseRouter.js:175:7
at Layer.handle [as handle_request] (/opt/bitnami/parse/node_modules/express/lib/router/layer.js:95:5)
at next (/opt/bitnami/parse/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/opt/bitnami/parse/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/opt/bitnami/parse/node_modules/express/lib/router/layer.js:95:5)
at /opt/bitnami/parse/node_modules/express/lib/router/index.js:281:22
at Function.process_params (/opt/bitnami/parse/node_modules/express/lib/router/index.js:335:12) {
code: 1
}
So I have done my reasearch over stackoverflow and almost everywhere and I have followed the instructions in this page: https://github.com/parse-community/parse-server#email-verification-and-password-reset , I have created a mailgun and using their sanbox domain and api, also I have edited the server.js file located in /opt/bitnami/parse-dashboard , and have tried to reboot the server using sudo reboot, but still no luck the same error keeps showing up
Steps to reproduce
Actual Outcome
Expected Outcome
Failing Test Case / Pull Request
- 🤩 I submitted a PR with a fix and a test case.
- 🧐 I submitted a PR with a failing test case.
Environment
Server
- Parse Server version: 4.9.3-8
- Operating system: Windows 10
- Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): AWS
Database
- System (MongoDB or Postgres): MongoDB
- Database version: not sure
- Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): AWS
Client
- SDK (iOS, Android, JavaScript, PHP, Unity, etc): Android
- SDK version: 4.1.3