I have an iOS mobile app written in Swift. I am using Parse Server as my backend and I am trying to implement password reset. The documentation only suggests adding the code below which I have done.
PFUser.requestPasswordResetForEmailInBackground("[email protected]")
However, I get the error An appName, publicServerURL, and emailAdapter are required for password reset and email verification functionality. I have found a lot of material on implementing Mailgun with parse to make this work but they are all in Javascript. Do I have to implement Mailgun in Swift? If so, how do I do it?
You do not have to implement Mailgun in Swift the
requestPasswordResetForEmailInBackGround()is all you need on the client side.The examples you have found are in JavaScript because you need to configure password reset in your Parse Server initialisation as described in the documentation: