Validate a JWT token generated by Amazon Cognito

Hi Kong Team!

Would like to use Kong API Gateway for my microservices. API requests will be sent with an access token generated by Cognito in the headers of the request like so:
Bearer

How can we validate a JWT token generated by Amazon Cognito using the JWT Plugin. Looking to validate the token from Cognito and possibly grab its attributes /claims like user group, user email.

Thanks so much!

@jumanah-alasadi I have same requirements as of your, are you able make it happen?