Authentication with Nuxt SSR? #4013
-
According to Adonisjs Web Guard docs:
In my case I have a first-party client for an API. That client is a Nuxt 3 SSR/hybrid app. I am completely lost on how to validate the cookie in a Nuxt middleware. Is there an example somewhere? Or can somebody please give me the big picture? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello, Here an exempe: https://github.com/insamee-app/mee/blob/master/plugins/getProfile.server.js (and check others parts of this repo). But the process, in a big picture, is:
I hope to anwser. Do not hesitate if you want more info! |
Beta Was this translation helpful? Give feedback.
Hello,
Here an exempe: https://github.com/insamee-app/mee/blob/master/plugins/getProfile.server.js (and check others parts of this repo).
But the process, in a big picture, is: