I'm stumbling my way around learning how to use Nuxt-Auth, and I currently have a local strategy working with JWT. I'm now looking to get the current user (on the server via express) before making a call to the database.
My first thought is to parse the JWT in the request header and grab the stored user id. However, seeing that I am using nuxt-auth middleware, perhaps there is a built-in method available? The documentation for nuxt-auth is particularly light.
In short, I know how to get the current user on the client side using nuxt-auth. Is there a server-side method? Pointing me to any documentation would be super helpful. Thanks!