feathersjs-ecosystem/feathers-authentication-management

how to use forgotten password of feathers-authentication-management

abdolrhman opened this issue · 10 comments

I just wanna use this package in only a rest way, providing API is there any docs for this,
thank you,
also, I am stuck here
how Allow user to reset the password if not yet verified?
I tried,

app.configure(authentication)
  .configure(authManagement({
    isVerified: false
  }));
didnt work```

Thanks :))

To allow password reset while not verified use the following option when configuring the module: skipIsVerifiedCheck: true. I've just added it in the docs.

There is also a section about REST in the doc: https://github.com/feathers-plus/feathers-authentication-management/blob/master/docs.md#http-fetch.

Thank you @claustres,
another question please,
do I need to configure anything so that I can use these services the package provide?
I mean the mail service or SMS service etc,
thanks again

this is closed, would be great if you could answer the other question.

The package does not provide email/sms services per se, you should use the notifier option to manage the link with third-party services providing such features.

is there is an example for this, I wanna use forget password service, with just mail,
thanks @claustres

Thanks, buddy appreciated :))

how is this skipIsVerifiedCheck implemented?

@claustres The doc says "if true (default) it is impossible to reset password if email is not verified." The default is false

Thanks, fixed in docs.