Add your web app reset password page url e.g. http://myapp.com/reset-password to the allowed-reset-password-urls array of the appSection-authenticationconfig.
Call the /password/forgot endpoint with a reset url of your choice. It should be one of the urls in the allowed-reset-password-urls array.
And when user click on that link it will go to your front end app reset password page. And then from there you should get the user's new password and call the /password-reset endpoint with all the required fields to reset the password.
Process Flow
And when user click on that link it will go to your front end app reset password page. And then from there you should get the user's new password and call the /password-reset endpoint with all the required fields to reset the password.