Sahil Bishtcodemaniac-sahil.hashnode.dev·Apr 18, 2024Step-by-Step Guide to Implementing Authentication in Nodejs and MongoDB with JWT and CookiesAuthentication is a critical aspect of web development, ensuring that only authorized users gain access to protected resources. In this blog, we will delve into the world of authentication in Node.js and storing the user’s credentials on MongoDB, foc...DiscussJavaScript
Nishant Tomerdevxnishant.hashnode.dev·Feb 9, 2024Navigating Stateful Seas: A Deep Dive into Cookies and Cookie Parser in Backend DevelopmentIntroduction: In the vast ocean of backend development, the concept of cookies emerges as a beacon for managing state and enhancing user experiences. The Cookie Parser, a trusty companion in this voyage, helps developers navigate the complexities of ...Discussbackend system
Segun Ajibolablog.segunajibola.com·Feb 2, 2024Understanding Cookies: How Websites and Web Browsers Handle Your Data Behind the ScenesIntroduction Hey there, want some cookies? I know you already know what cookies are. A cookie is a baked or cooked snack or dessert that is small, flat and sweet.... Nah, not that. Not in a website. You will be learning about different cookies, this...Discuss·202 readscookies
Pathik Shahpathik455.hashnode.dev·Aug 15, 2023JWT (JSON Web tokens) vs. Session CookiesSession Cookie-based approach: 1. Server generates a "sessionId" (signs it using "secret key"), and (a) saves the sessionId in a sessionDB, and (b) sends a cookie with the sessionId to the browser (client side). 2. The browser (client side) receiv...Discuss·2 likesJWT
Vannyou 🚀vannnyoutang.hashnode.dev·Jun 24, 2023🔑 Using HttpOnly Cookie for Session Management in Next.js👋 Hello there! Are you building a Next.js project, and then wondering how to keep your user logged in after getting an access token from your backend server 🤔 ? And... are you thinking that storing your user's session in browser storage (including ...Discuss·88 readsNext.js Auth 🔐Next.js
Sundeep Kamathtrystwithcode.hashnode.dev·Sep 6, 2015Authentication in ASP.Net MVC 5 using Identity Libraries – Part 3My earlier post listed the steps to set up cookie-based authentication in ASP.Net MVC 5 project using Identity libraries.There was, however, a hardcoded username and password used for the authentication logic.I will replace the same with the new memb...Discussasp.net identity
Sundeep Kamathtrystwithcode.hashnode.dev·Sep 5, 2015Authentication in ASP.Net MVC 5 using Identity Libraries – Part 2In my earlier post, I had created a basic HomeController and an AuthController.When we ran the application there was enough logic to check if the user had been authenticated and if not he would be redirected to the login page. Moving on, we'll now ad...Discussasp.net identity
Sundeep Kamathtrystwithcode.hashnode.dev·Sep 4, 2015Authentication in ASP.Net MVC 5 using Identity Libraries - Part 1In my earlier post, I referred to the post by Ben Foster on using ASP.Net Identity libraries to add authentication support. I'm planning to try the same using an ASP.Net MVC 5 web application.I'll be covering the same on my blog as a 3 part series, t...Discussasp.net identity
Sundeep Kamathtrystwithcode.hashnode.dev·Sep 3, 2015Setting up authentication in ASP.Net MVC 5 using Identity librariesI've been working on this side project of mine developed in ASP.Net MVC 5.While developing the project, I started with an empty MVC project template.As a result of this, the default plumbing about authentication etc was not part of this project.I was...Discussasp.net identity