I’m trying to figure out the correct way to integrate Auth0 into my Vue application. I always struggle with Authentication. I’ve followed the quick start guide for Vue and I am able to access the id_token, access_token and expires_at timestamp stored by the handleAuthentication method in local storage.
I have a few questions. The first is that I do not receive a refresh token with my authentication. I do however get an expires at time. Do that mean my access_token will expire? How do I refresh it without a refresh token?
My second question is about authentication on my backend api. Should this work by have Vue send the access token with every request and having the backend make a request to auth0 to get the userId and then using that to identify the user on the backend?
Thank you so much for your help.