Skip to content

persistent Auth Example broken #101

@chief-nerd

Description

@chief-nerd

Flutter auth SDK seems to be broken

My Code (with go_router)
https://gist.github.com/chief-nerd/c5dc85a40c9f72040e7a4b6875189606
which is pretty much the code from
https://github.com/nhost/nhost-dart/blob/main/packages/nhost_flutter_auth/example/lib/persistent_auth_example.dart

I see on Web in my Chrome Application that the token is being put into store.
But when I do a reload of the application I am logged out again.

Do I need to call nhostClient.auth.signInWithStoredCredentials(); manually? Cause it's not called during init of the application??

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions