I'm using Laravel 5.8 with vuejs and for oauth authentication I'm using passport, I also have an android app which consumes the same api's. The access token and refresh token are saved in local storage in client side to authenticate api's
Now what I'm trying to achieve is 1.)user selects remember me while login 2.)After a day user visits the app again 3.)now instead of showing him login page,I want to authenticate him and redirect him to his dashboard
But I'm not able to figure out how to authenticate user from server side, The access token is already expired and the refresh token is still present but no api is being fired. Also suggest how do implement it for mobile app as well.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire