feathersjs-ecosystem / feathers-authentication-management

Adds sign up verification, forgotten password reset, and other capabilities to local feathers-authentication
https://feathers-a-m.netlify.app/
MIT License
246 stars 98 forks source link

how to use forgotten password of feathers-authentication-management #134

Closed abdolrhman closed 4 years ago

abdolrhman commented 4 years ago

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 :))
claustres commented 4 years ago

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.

abdolrhman commented 4 years ago

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

abdolrhman commented 4 years ago

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

claustres commented 4 years ago

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.

abdolrhman commented 4 years ago

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

claustres commented 4 years ago

https://hackernoon.com/setting-up-email-verification-in-feathersjs-ce764907e4f2

abdolrhman commented 4 years ago

Thanks, buddy appreciated :))

ajimiathul commented 3 years ago

how is this skipIsVerifiedCheck implemented?

abner-suniga commented 3 years ago

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

claustres commented 3 years ago

Thanks, fixed in docs.