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

Channel:
Subscribers:
81,900
Published on ● Video Link: https://www.youtube.com/watch?v=qN5aLvs7Rys



Category:
Tutorial
Duration: 7:09
9,382 views
346


My Angular course: https://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: https://www.youtube.com/watch?v=1Q7r4tagFns

NOTE: Do not use this in production, it is not secure
Client: https://github.com/joshuamorony/angularstart-quicklists/tree/go-login
Server: https://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?: https://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: https://modernangular.com
- Follow me on Twitter: https://twitter.com/joshuamorony







Tags:
tutorial
tutorials
coding
coding tutorials
angular
angular tutorials
mobile
mobile apps
apps
html5
ios
android
hybrid
web apps
progressive web applications
programming
performance
ui
ux
animations
screencast
rxjs
nx
ngrx
architecture
signals
advanced