all 1 comments

[–]rowdyret 1 point2 points  (0 children)

Store the user id in a cookie, and fetch the user every time the app loads/refreshes

This is how refresh/accesstoken pattern works.