Abstract
We will learn how to implement JWT-based authentication in a full-stack application created using Angular and .NET. The app will have support for policy-based authorization. We will use GraphQL for querying the APIs.
Key Takeaways:
What is a JWT? Structure of JWT Create a GraphQL server using .NET & Chilli Cream hot chocolate to support JWT authentication. Add policy-based authorization to the APIs Use the Apollo GraphQL to consume the API on an Angular client Use HTTP interceptors to allow secure access to the APIs Implement route guards to secure the URL routing