#Which one do you prefer when it comes authentication? (session or jwt)
8 messages · Page 1 of 1 (latest)
Sessions are fine for most web applications. Jwts add complexity that you most likely don't need. But you can go from one to the other if needed, so you won't be locking yourself down to one path should you change your mind.
Jwt, if you have sso server like keycloak.
Does session security provide enough protection against attackers or hackers?
If you use nestjs as microservice server, you shall not implement as session. Session only suitable for frontend connected server
if I'm making a microservice what authentication approach should I use?
can I use jwt as a session?
like the jwt encoded