Authorizing cognito's JWT token and allowing to execute the strapi api

System Information
  • Strapi Version: 3.6.1
  • Operating System: windows
  • Database: postgesql
  • Node Version: 14.16.x
  • NPM Version: 6.14.x

I wanted to authorize the users from AWS cognito. allowing them to access collections using cognito’s jwt token.