Code Monkey home page Code Monkey logo

Comments (13)

shyndman avatar shyndman commented on May 29, 2024 3

Thanks! Got that in.

I'm publishing a new set of packages now. Here are the versions:

nhost_sdk                3.0.0-beta.3
nhost_flutter_auth       2.0.0-beta.3
nhost_gql_links          2.0.0-beta.3
nhost_graphql_adapter    2.0.0-beta.3
nhost_flutter_graphql    2.0.0-beta.3

from nhost-dart.

shyndman avatar shyndman commented on May 29, 2024 2

Just published #50 to pub. Here are the new versions:

nhost_sdk                3.0.0-beta.0
nhost_gql_links          2.0.0-beta.0
nhost_flutter_auth       2.0.0-beta.0
nhost_graphql_adapter    2.0.0-beta.0
nhost_flutter_graphql    2.0.0-beta.0

This is still a work in progress, but I'm going to be knocking off what's missing over the coming days, and continue to cut beta releases as I do so.

from nhost-dart.

shyndman avatar shyndman commented on May 29, 2024 2

Packages are now graduated to stable:

nhost_sdk                3.0.0
nhost_gql_links          2.0.0
nhost_graphql_adapter    2.0.0
nhost_flutter_auth       2.0.0
nhost_flutter_graphql    2.0.0

from nhost-dart.

shyndman avatar shyndman commented on May 29, 2024 1

New set of packages out the door, including the changes in #57 and #58.

nhost_sdk                3.0.0-beta.1
nhost_gql_links          2.0.0-beta.1
nhost_flutter_auth       2.0.0-beta.1
nhost_graphql_adapter    2.0.0-beta.1
nhost_flutter_graphql    2.0.0-beta.1

from nhost-dart.

elitan avatar elitan commented on May 29, 2024 1

@shyndman This one: https://github.com/nhost/nhost/blob/main/packages/hasura-auth-js/src/hasura-auth-api.ts#L149

from nhost-dart.

shyndman avatar shyndman commented on May 29, 2024

Not quite ready to close yet.

from nhost-dart.

MaxSchilling avatar MaxSchilling commented on May 29, 2024

Hi @shyndman, Johan said that V2 will offer an endpoint to retrieve the e-mail verification process/e-mail, is that already covered within the new sdk as method? Thanks!

from nhost-dart.

shyndman avatar shyndman commented on May 29, 2024

Hey @MaxSchilling,

It is not. Let me take a look at getting this in.

from nhost-dart.

shyndman avatar shyndman commented on May 29, 2024

To be clear, you're looking to retrieve the text of the verification email?

from nhost-dart.

shyndman avatar shyndman commented on May 29, 2024

If you're looking for the ticket used to verify the email address, it's stored in the auth.users table, and can be accessed via gql. Keep in mind that the permissions will have to be set up appropriately to modify view/modify the value.

from nhost-dart.

MaxSchilling avatar MaxSchilling commented on May 29, 2024

Hey Scott,
no actually a method to re-trigger the actual email-verification mail from the server, as the account activation ticket (that is created on registration) expires after 60 minutes.
As I understood Johan in V2 there is a way/endpoint to retrigger the token and trigger the activation mail for the user again. This wasn't possible in v1 and we lost quite some users through missing that functionality / not activating within 60 minuted.

So would be great to provide that functionality.

Bonus would be if the authenticationState could reflect wether the user activated the account yet, would make the routing easier to route to a re-send verification screen / functionality.

from nhost-dart.

shyndman avatar shyndman commented on May 29, 2024

Got it.

@elitan, which endpoint is @MaxSchilling referring to?

from nhost-dart.

diegonc avatar diegonc commented on May 29, 2024

Evaluate the need for _loading in AuthServiceClient

I just did a quick search on the auth_client.dart file and the _loading flag is never set to true.
Thus, the authentication state inProgress is never returned.

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.