A 7 minute guide to SESSIONS and COOKIES for authentication in Angular @JoshuaMorony
A 7 minute guide to SESSIONS and COOKIES for authentication in Angular  @JoshuaMorony
Uploaded April 2024 | Updated September 2026, 2 weeks ago
My Angular course: angularstart.com

If we want our applications to be secure then we need to make sure our backend is secure. Before we send any data to a user, we want to make sure that they are authorised to receive that data. Sessions and cookies are a great way to facilitate this and has been the backbone of many authentication approaches for a long time.

Previous video: youtube.com/watch?v=1Q7r4tagFns

NOTE: Do not use this in production, it is not secure
Client: github.com/joshuamorony/angularstart-quicklists/tree/go-login
Server: github.com/joshuamorony/quicklists-go-api/tree/auth

Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076

Want to build mobile apps with Angular?: ionicstart.com

0:00 Introduction
1:11 Route guards are not secure
2:17 Securing backend endpoints
3:00 Implementing sessions
3:37 Handling logins
4:24 Creating a session cookie
5:35 Configuring Angular to send cookies

#angular #golang #authentication

- More tutorials: modernangular.com
- Follow me on Twitter: twitter.com/joshuamorony
A 7 minute guide to SESSIONS and COOKIES for authentication in AngularHow Im preventing burnout when coding with LLMsHow I use E2E tests to drive my Angular testing approachJavaScript optimisation with LLMs is too good to ignore nowThe most cursed Angular feature Ive ever builtToo much junk in your Angular components? Try composition instead of inheritance!I didnt know about FLASH in neovim (kinda mad about it)Testing SMART components and SERVICES with Signals and RxJSMaking Angulars resource() even more powerfulHow Electron jailbreaks your web applicationThis is what your Ionic app looks like on NxA hidden side benefit of DECLARATIVE code
Joshua Morony |

A 7 minute guide to SESSIONS and COOKIES for authentication in Angular

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER