AWS Bites Podcast

52. Authentication for a CLI app with Cognito - Live coding PART 5

Published 2022-09-21 - Listen on your favourite podcast player

How can you build a WeTransfer or a Dropbox Transfer clone on AWS?

This is our fifth live coding stream. In this episode, we continued adding some security to our application. Specifically, we implemented 75% of the OAuth 2 device flow on top of AWS Cognito to allow our file upload CLI application to get some credentials. In order to implement this flow, we need to store some secrets. We decided to use DynamoDB and spent a lot of time discussing our data design and how and why we used the famous and controversial DynamoDB single table design principle.

All our code is available in this repository: github.com/awsbites/weshare.click.

Some of the resources we mentioned:

Let's talk!

Do you agree with our opinions? Do you have interesting AWS questions you'd like us to chat about? Leave a comment on YouTube or connect with us on Twitter: @eoins, @loige.