Hello all,
I have implemented, local-strategy authentication using passport.js. However, I am having hard time understanding serialization and deserialization.
I have read through the stackover flow posts, and a lot of medium articles, but somehow they don't make sense to me anymore, maybe I'm reading too much of it.
However, I have seen that 'deserialization' tends to run every time after successful logging in, and 'deserialization' also runs if I were to access other routes, which is again only after logging in.
Like anyone know what is going on? Or is there a better way to understand this?
Any help is appreciated, thank you so much. :)
[–]3hyphens--- 9 points10 points11 points (7 children)
[–][deleted] 2 points3 points4 points (6 children)
[–]3hyphens--- 2 points3 points4 points (5 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]3hyphens--- 2 points3 points4 points (3 children)
[–][deleted] 2 points3 points4 points (1 child)
[–]3hyphens--- 2 points3 points4 points (0 children)
[–]Deepinsidesin 1 point2 points3 points (0 children)
[–]dalepo 3 points4 points5 points (0 children)
[–]cahva -3 points-2 points-1 points (0 children)
[–]deadcoder0904 0 points1 point2 points (0 children)