Video: Setting and Getting HTTPOnly Cookies
Node Fundamentals Authentication
Released: 2021-02-28
-
1. Node Fundamentals Authentication
0m52s
-
2. ESM and Getting Started
10m1s
-
3. Fastify Up and Running
17m46s
-
4. Dot ENV
6m51s
-
5. Connecting To MongoDB
17m49s
-
6. Mongo Compass
5m28s
-
7. Forms with VanillaJS
14m6s
-
8. Fetch Post Requests
9m34s
-
9. What Is Encryption, Salting, and Hashing
11m37s
-
10. Salting and Hashing
12m9s
-
11. User Records
9m36s
-
12. Login UI Flow
9m20s
-
13. Authorization with Compare
10m4s
-
14. HttpOnly Cookies Vs Browser
10m36s
-
15. WTF Is A JWT
6m56s
-
16. Refresh Vs Access Tokens and Sessions
12m51s
-
17. Setting and Getting HTTPOnly Cookies
15m26s
-
18. Creating Sessions
22m0s
-
19. Creating and Storing Our JWTs
15m27s
-
20. Decoding Our JWT and UI Access
23m52s
-
21. Refresh Tokens
18m9s
-
22. Logout
14m57s
-
23. Cleanup and Polish
14m24s
Setting and Getting HTTPOnly Cookies
Now we will take a look at HTTPOnly cookies. We will learn about what they are and how to use them.
npm install —save fastify-cookie jsonwebtoken