aws-cognito-angular-quickstart icon indicating copy to clipboard operation
aws-cognito-angular-quickstart copied to clipboard

Replace Component Interfaces with Auth Guard

Open Craig1f opened this issue 7 years ago • 0 comments
trafficstars

Components should not be aware of the authorization layer. Use an auth guard in the router to prevent access to routes that require authorization. This decouples the auth layer from the rest of the application and makes it easier for people to fork this project and add it to theirs.

Craig1f avatar May 17 '18 18:05 Craig1f