DEV Community

Discussion on: How to make nuxt auth working with JWT - a definitive guide

 
mrnaif2018 profile image
MrNaif2018

It was because of rehydration errors, not matching content on server and client side, and by enabling this middleware client side only it solved the issues. if (!process.client) return; is the only change. Not DRY, I know (:
In near days I am going to hunt one more bug, will update the post after I fix that(axios dynamic base url not used, it requests local server and not the remote one).