This repository was archived by the owner on Mar 5, 2025. It is now read-only.
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? |
Answered by
Hebilicious
Nov 11, 2023
Replies: 1 comment
|
It can't, Auth.js works on the server. |
0 replies
Answer selected by
Hebilicious
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.