How to save login status? When I log in and restart the application, the login status disappears
jijkbird opened this issue · comments
Docking commented
How to save login status? When I log in and restart the application, the login status disappears,in flutter
Docking commented
AuthResponse authResponse = await nhost.auth.signInEmailPassword(
email: "191439366@qq.com", password: "123456789");
print(nhost.auth.authenticationState);
Szilárd Dóró commented
I'm transferring this issue to our Nhost Dart repository.
Tyrone Chris Abad commented
Have you added an AuthStore
?
NhostClient(
subdomain: subdomain,
authStore: YOUR_AUTHSTORE_HERE
);