Back to Browse

Role Based Angular Authorization | Using AWS Cognito | Stack MJ

1.7K views
Mar 7, 2023
22:25

This video is in continuation of my previous video - https://youtu.be/SmuF4WJ34yI In this video, we will be exploring how to implement role-based authorization using AWS Cognito. Role-based authorization is a crucial aspect of application security, as it ensures that users can only access the resources they are authorized to access based on their assigned roles. In this video, we will start by creating custom user attributes in Cognito. We will then create users with their roles. Next, we will create an Auth Guard to protect routes from un authenticated users. We will also create a custom structural directive to manage DOM elements based on user role. By the end of this tutorial, you will have a solid understanding of how to implement role-based authorization using AWS Cognito, which will help you to build more secure and robust applications. So, sit back, relax, and let's dive into the world of role-based authorization! AWS Tutorials - https://www.youtube.com/playlist?list=PLsUJ0dQgt8m-w7mSEVV1Q5vqyW8l83xfq Angular Tutorials - https://youtube.com/playlist?list=PLsUJ0dQgt8m9SggiKmTbKCAftq71LFVR5 Angular Interview Questions and Answers Series - https://youtube.com/playlist?list=PLsUJ0dQgt8m-xmM1j4bZI8-eiocS9B6Bg Coding Round Interview Questions - https://youtube.com/playlist?list=PLsUJ0dQgt8m-wwZ2cJpIbGlH3wGlaZ5vL ChatGPT - https://youtube.com/playlist?list=PLsUJ0dQgt8m9MwvUmbWWpOlQiWWfB3Uov Subscribe to my channel - https://youtube.com/@stackmj Contact - [email protected] #angular #authorization #cognito #aws #authguard #canactivate #structuraldirective 00:00 Intro. 00:31 Quick overview about the video. 01:05 Create Custom User attribute in AWS Cognito User pool. 02:50 Save User Role in AWS Cognito while signtup. 06:12 Implement Auth Guard in Angular to protect routes from un authenticated users. 09:43 Show hide menus based on user authentication. 15:54 Create custom structural directive to display only authorized content.

Download

1 formats

Video Formats

360pmp432.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Role Based Angular Authorization | Using AWS Cognito | Stack MJ | NatokHD