Code Monkey home page Code Monkey logo

Comments (6)

mhadaily avatar mhadaily commented on June 8, 2024

The ticket param was added to the changePassword method. However, it's available in our newest DEV version for Dart SDK.

You can check https://pub.dev/packages/nhost_sdk/versions/4.0.0-dev.8

The new SDK requires you to pass subdomain and region instead of the backendUrl.

from nhost-dart.

vipafattal avatar vipafattal commented on June 8, 2024

@mhadaily I already migrated to V3.0 but am having trouble implementing the rest password in my web app.

I use the restPassword(email: userEmail) method, then I receive a mail that redirects to my app as follows MY_FRONT_END_URL/refreshToken=9e1e0d6a-b1bc-4612-9f78-8721d59bd5a4&type=passwordReset but the new change password method needs a ticket number and I am unsure where to get that from.

Any tips? thanks in advance.

from nhost-dart.

mhadaily avatar mhadaily commented on June 8, 2024

I am unsure I need to investigate a bit, because as far as the SDK implementation, we just call an endpoint in the backend of nhost, let me ask around and give you an answer.

from nhost-dart.

vipafattal avatar vipafattal commented on June 8, 2024

Hi @mhadaily any updates on this? thanks

from nhost-dart.

mhadaily avatar mhadaily commented on June 8, 2024

Unfortunately, I was pulled out of it for an unforeseeable future.
I still have access, but I need to confirm everything with @nunopato

from nhost-dart.

vipafattal avatar vipafattal commented on June 8, 2024

Do you have any docs on how to implement forget the password feature? As it's not really clear how to utilize the refreshToken that is delivered to the user's mail.

from nhost-dart.

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.