Can this be used only as a client? #131
-
My Nuxt is in static generation mode You can view the repo here I want to authenticate with credentials (user and password) to a Nestjs backend How can I authenticate while using only the client? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It can't, Auth.js works on the server. |
Beta Was this translation helpful? Give feedback.
It can't, Auth.js works on the server.
If you want to authenticate to a NestJS backend, you don't need to use this module. You can look at the source code of the composable and implement something similar that is specific to your own backend. You could even extract it as your own internal module.