Ok so i hav a app where I have mobile number verification using sms code !
So after verification if the user is verified i set a flag in localstoreage as true !
the on every state change i check for the flag ! If the localstorage is cleared it will ask the client the again verify mobile number !
so am i doing the right thing ? is the approach good ? can i use any other more efficient method ?
should i check the user session on every state change via http ?
Is there any standard way for authenticating user?