notiz-dev / nestjs-prisma-starter

Starter template for NestJS 😻 includes GraphQL with Prisma Client, Passport-JWT authentication, Swagger Api and Docker
MIT License
2.37k stars 336 forks source link

Logout feature #433

Closed cloudcompute closed 3 years ago

cloudcompute commented 3 years ago

Why did you decide not to implement the Logout functionality?

marcjulian commented 3 years ago

What would involve a logout function? The server does not store any information about the JWT tokens provided to authenticated users, hence there is nothing the server can do about a valid jwt token.

cloudcompute commented 3 years ago

okay. Got it. Thanks