GraphQL NestJS and JWT with AWS Cognito



If you’re using GraphQL in your application, you’ve undoubtedly spent quite some time researching the best way to do it. As part of your core development core, you want to make sure that your API (Application Programming Interface) is secure, but what do you actually know everything when it comes to securing your API? NestJS is an extremely popular JavaScript library that provides a simple way to create GraphQL apps. It can be used to write data-driven web applications, but it also allows for the creation of simple web services that are easy to consume via JSON/XML. In this video, I will explain how to authenticate against GraphQL using JWT and NestJS passport with AWS Cognito as an Identity provider