Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using local storage jwt authentication while logging in. I have to log in every time I open my app. Is there a way to stay logged in like any other apps until unless we specifically sign out ? Please help . Thanks

What I have tried:

I have tried with localstorage.set but it's not safe to store the token in local storage . Is there any other way ?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900