-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resetPassword: Permission denied for this action. #1212
Comments
I was able to the reset password use case to work with SimpleMailgunAdapter. I did have to debug some of the internals though. Setting the following arguments that must be passed to the ParseServer ctor solved all the permission denied stuff. publicServerURL: process.env.PUBLIC_SERVER_URL || 'http://localhost:1337/parse' appName: process.env.APP_NAME || '<your app name?' emailAdapter: simpleMailgunAdapter I set publicServerURL to be the same as serverURL. Didn't really understand the need for both but if you don't set the publicServerURL it all doesn't work. |
flovilmart already answered my question below on a different thread. Looks like the documentation on the main project thread got updated with more details. |
@seryoni / @flovilmart I'm actually passing all those options, but I figured out what the actual problem was: it seems like the latest package in @flovilmart / @gfosco since the README already mentions how to setup email for password resets, could we release a new version of the npm package? |
Environment Setup
parse-server v2.2.2
Steps to reproduce
Logs/Trace
No logs/errors on server by default, but by running the server locally, I was able to determine the
userController.updatePassword
in thePublicAPIRouter
catches thePermission denied for this action.
error and redirects back to the choose password page.The text was updated successfully, but these errors were encountered: