<aside>
💻 Building Serverless .NET APIs using AWS Lambda, Amazon API Gateway, and Amazon Cognito
</aside>
Steps
- Review the architecture here
- How this is different from ASP.NET Core API?
- Refer dotnet-core-apis/AuthorizationExample
- Create Lambda function in AWS Console
- Deploy .NET API on Lambda
- Understand the need for security at the application level
- To get user info
- To validate audience
- Create Lambda function & deploy API
- Create a Cognito Authorizer
- Create an API Gateway route and connect it with the Lambda
- Obtain Cognito token from ThunderClient and inspect it at
jwt.io
- Test the API from ThunderClient.