Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *


  1. How would you go about adding social logins to this? Was thinking along the lines of doing a social login and then generating a jwt for future requests, but I’m not entirely sure that’s best…

  2. Hi Mukesh, thank you for the article.
    2 questions:
    1. How to test it using Swagger? i.e. how to do login to Cognito?
    2. How to use [Authorize] in Production only and ignore in [Development]?
    My Lambda works with PostgreSQL.
    I run it locally with my local PostgreSQL for development and debugging methods etc.
    And run in AWS ->RDS for the production.
    So, I’d like do not have [Authorize] in my local app.
    How to do it?