DEV Community

Discussion on: Authentication and Sessions for MVC Apps with NestJS

Collapse
 
tomaszjankowski profile image
tomasz-jankowski • Edited

I tried doing something like this image and it works, but I end up with error:
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client

Any ideas? Couldn't resolve it with solutions from many Stack Overflow topics.