Giter VIP home page Giter VIP logo

Comments (8)

gezquinndesign avatar gezquinndesign commented on August 16, 2024

https://loopback.io/doc/en/lb3/User-REST-API.html#reset-password

Hope that helps. As long as you have a User (or User-based) model, the SDK builder will provide the same functionality included in the loopback base model.

from loopback-sdk-builder.

PhilippeCorreges avatar PhilippeCorreges commented on August 16, 2024

Hi @gezquinndesign.
Thanks for that. Unfortunately that is not of a big help for me. I am a too much newbee :)

from loopback-sdk-builder.

gezquinndesign avatar gezquinndesign commented on August 16, 2024

No worries. Have you already used the SDK to implement a login feature? If so, you can use the same feature to reset passwords.

from loopback-sdk-builder.

PhilippeCorreges avatar PhilippeCorreges commented on August 16, 2024

Yup, of course. Everything is ok. I am stuck in front of this. I'll tell you as I need to master this.
I nonetheless remember there was a sample somewhere ....

Enjoy your day.

from loopback-sdk-builder.

gezquinndesign avatar gezquinndesign commented on August 16, 2024

I only ask because they are both in the same API section
https://github.com/mean-expert-official/loopback-sdk-builder/wiki/5.-Usage-Examples

So in the above example you could set up a method that uses this.accountApi.resetPasswordRequest() to setup the request and this.accountApi.resetAccountPassword() to actually change it.

Good luck.

from loopback-sdk-builder.

PhilippeCorreges avatar PhilippeCorreges commented on August 16, 2024

Hi @gezquinndesign

I'll tell you once done.
Thanks!

from loopback-sdk-builder.

PhilippeCorreges avatar PhilippeCorreges commented on August 16, 2024

Hi @gezquinndesign
i do not see the above methods in the sample URL you provided. Am I doing wrong?
I nonetheless created a stackoverflow for that: https://stackoverflow.com/questions/55635072/how-to-implement-reset-password-with-loopback-frameword-and-sdk-builder-client-s

Here is not the good place I think. If someone could help me on stack, please.

Thanks in advance and regards.

from loopback-sdk-builder.

gezquinndesign avatar gezquinndesign commented on August 16, 2024

I've responded on StackOverflow. Hopefully it is helpful for you.

from loopback-sdk-builder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.