Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to implement Login functionality #23

Open
gnanakeethan opened this issue Nov 17, 2018 · 1 comment
Open

How to implement Login functionality #23

gnanakeethan opened this issue Nov 17, 2018 · 1 comment

Comments

@gnanakeethan
Copy link

I have been trying this setup for a quite while. I have some experience in Android. A very little with flutter.

I have a REST API which is JWT authenticated. I need to authenticate the user before making any API requests.

I am bit confused on how to force open the login page on App Load.

I need to persist the JWT token than email & password.

Thanks,
Keethan

@hillelcoren
Copy link
Owner

In our app we first show a loading/init screen to check if we have a token saved already, if we do we navigate to the app otherwise we show the login page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants