Logo-amall
discord (1)
#flutterappresetPassword (1)
  • Hi guys, I'm trying to make the resetPassword from nhost Auth work on my flutter app. I couldn't figure out how to update the URL that the email redirects to my own url. the parameter "redirectTo" from the package throws an exception every time I try to enter my own url in there. Unhandled Exception: ApiException: apiUrl=MYPROJECTURL/v1/auth/user/password/reset, statusCode=400, responseBody={status: 400, message: "options.redirectTo" with value "http://test/resetpass" fails to match the required pattern: /^http:\/\/localhost:3000/, error: invalid-request} and if I leave the redirectTo as null, it will send an email that redirects to localhost:3000

    Last active 4 months ago

    4 replies

    6 views

    FL
    SH
    +2