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 keep user login #20

Open
emaborsa opened this issue Apr 5, 2023 · 0 comments
Open

How to keep user login #20

emaborsa opened this issue Apr 5, 2023 · 0 comments

Comments

@emaborsa
Copy link

emaborsa commented Apr 5, 2023

Hi all,
I have implemented the library into my Flutter Android app, the user can login, where the userId is stored in the SharedPreferences.
If I put the app in background, once the app is reopened few seconds later, everything is working fine.
If I close the app by hitting the back button, even if I reopen it after just a second, the AzureB2C.getSubjects() returns an empty list so I cannot trigger AzureB2C.policyTriggerSilently(...) with the previously saved userId.

Is there a way to let's say store the session in order to keep the user loggin in?

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

1 participant