Amazon Cognito Beginner Guide
Вставка
- Опубліковано 1 чер 2024
- In this video, you'll learn about Amazon Cognito's main features and how User Pools and Identity Pools tie together. We'll start by overviewing Cognito features before diving into User and Identity Pools in detail.
Looking to get hands on experience building on AWS with a REAL project? Check out my course - The AWS Learning Accelerator! courses.beabetterdev.com/cour...
Secure your API Gateway with Cognito User Pool - • Secure your API Gatewa...
Add Google Social Sign On to Your Cognito User Pool - • How To Add Google Soci...
Amplify Overview - • What is AWS Amplify? P...
📚 My Courses 📚
AWS Lambda - A Practical Guide - www.udemy.com/course/aws-lamb...
🎉SUPPORT BE A BETTER DEV🎉
Become a Patron: / beabetterdev
📚 MY RECOMMENDED READING LIST FOR SOFTWARE DEVELOPERS📚
Clean Code - amzn.to/37T7xdP
Clean Architecture - amzn.to/3sCEGCe
Head First Design Patterns - amzn.to/37WXAMy
Domain Driven Design - amzn.to/3aWSW2W
Code Complete - amzn.to/3ksQDrB
The Pragmatic Programmer - amzn.to/3uH4kaQ
Algorithms - amzn.to/3syvyP5
Working Effectively with Legacy Code - amzn.to/3kvMza7
Refactoring - amzn.to/3r6FQ8U
🎙 MY RECORDING EQUIPMENT 🎙
Shure SM58 Microphone - amzn.to/3r5Hrf9
Behringer UM2 Audio Interface - amzn.to/2MuEllM
XLR Cable - amzn.to/3uGyZFx
Acoustic Sound Absorbing Foam Panels - amzn.to/3ktIrY6
Desk Microphone Mount - amzn.to/3qXMVIO
Logitech C920s Webcam - amzn.to/303zGu9
Fujilm XS10 Camera - amzn.to/3uGa30E
Fujifilm XF 35mm F2 Lens - amzn.to/3rentPe
Neewer 2 Piece Studio Lights - amzn.to/3uyoa8p
💻 MY DESKTOP EQUIPMENT 💻
Dell 34 inch Ultrawide Monitor - amzn.to/2NJwph6
Autonomous ErgoChair 2 - bit.ly/2YzomEm
Autonomous SmartDesk 2 Standing Desk - bit.ly/2YzomEm
MX Master 3 Productivity Mouse - amzn.to/3aYwKVZ
Das Keyboard Prime 13 MX Brown Mechanical- amzn.to/3uH6VBF
Veikk A15 Drawing Tablet - amzn.to/3uBRWsN
🌎 Find me here:
Twitter - / beabetterdevv
Instagram - / beabetterdevv
Patreon - Donations help fund additional content - / beabetterdev
#aws
#cognito
OMG . Are you kidding me ? . I cant believe such an excellent presentation is available on this topic . it has got all what i need , Hats off to you man
Thank you so much for your kind comment!
Thanks for the video. Really loved how you explained it for practical use as well.
Literally couldn't have had better time in making this video! We just started using cognito at work!
Thanks Gavin! Hope the video helps :)
Concise and to the point. Excellent video!
Thank you so much bro, really helpful video. Your channel is the main resource i look when i have any doubt in aws.
This presentation of the Cognito service is brilliant.
All the important details fit in 25 minutes.
Thank you.
Thanks so much Andrew and glad you enjoyed!
This is exactly what ive been looking for! Thanks man! I appreciate you showing multiple options on how to do something
Glad I could help!
Very good video. Even with the now outdated ui, this clearly explains user pools and identity pools as well as the differences and their usecases.
Thanks for this brief explanation. It was very informative.
Do you have more videos about AWS Cognito, like a hands on integration into actual applications?
Very well, slow and detailed. Thank you
Thanks for the video and great explanation as usual. Could you elaborate more on "other options to integrate directly in your app" outside of the hosted UI at 13:23? What are the tradeoffs if not using the hosted UI? Do you take on more security burden and liability/maintenance? Is it significantly difficult to integrate? trying to decide whether to use the hosted UI or build our own signup form to look more internal to an app, but am not sure how to weigh the pros and cons.
Wow, clear points in the goal, thanks for this a very good illustration.
brooo I have been following your YT channel and all the information you share is AMAZING. Thanks a looot
Thank you so much for this clear and well presented tutorial. Subscribed 😊
Thank you, this was informative!
Great video, thank you very much for this! ❤
This is really good, thanks a ton.
Excellent explanation! Thanks for this nice video. I have a question here. I am beginner so not much knowledge however how to setup AWS Cognito (with SSO) for multi-region considering DR as the critical requirement.
You sir, should be getting paid by AWS for these videos!
This was such a great explanation and lucid intro to Cognito. Like seriously, 10/10 job. Thanks again, I will definitely be liking and checking out your other videos 👍
dude, this video is amazing
Awesome video. Came in timely manner as we're working on adding Cognito to our app :)
Glad it was helpful Riza!
Amazing video!
Dude!! You’re good at this. You reduce the complexity of cognito, by an order of magnitude.
thank you so much!!!
Simply amazing. Thank you
Thank you!
Thanks for the awesome video. Amazon should hire you.
Great summary, thank you. They should link this directly from the AWS page :)
Thanks for the video. Could you also make one about how ECS is integrated with ALB and API Gateway with Cognito? Thanks
Thank you so much!
I love your videos and have subscribed. your info is very helpful! Some of the best I have found!
I hope I am not out of place suggesting something: the vocal recording is quite "boomy" as they say in the recording business which can make it hard to listen on some systems and there are easy fixes: grab a free EQ (like Audacity) and make a cut in the 100-300 Hz range. If you want to sound great on YT: 4db cut at 125Hz, 2db boost at 2k Hz and high pass filter below 100 Hz. Also, experiment with speaking from 6-12 inches from your mic to avoid the "proximity effect" which is mostly an issue for deeper voices with better quality mics.
Hi Richard, thank you so much for the feedback! I'm going to look into your tips more and see if I can make some adjustments.
Do you have any suggestions for articles/tutorials to get this set up properly? I'm currently using a audio mixer called VoiceeMeter and thought I had it configured correctly but apparently not :(
@@BeABetterDev I just looked at VoiceMeeter as I wasn't familiar. From a glance it looks like they have the basic "Bass" "Midrange" "Treble" control, but I think the biggest factor is the HPF which maybe isn't in there. High pass filter rolls off anything below a set frequency. I also have a deeper voice and will usually set my HPF to around 100Hz. I am not sure if this workflow would work, but you could literally just dump your audio in Audaicy which is a free and pretty high quality tool, then use the EQ in the filter dropdown menu and then export the resulting audo as a wav file or mp3 or whatever you prefer. That is one option. Another free tool might be Cakewalk by Bandlab which is mostly for multitracking music, but you can also track video in there. Those are some free ideas. If you are willing to drop some cash: Izotope is an industry standard. I use their products extensively for music production. But, they are also used for radio, dialog in general, podcasts... Check this page: www.izotope.com/en/learn/audio-repair/dialogue-editing.html
Would appreciate a hands on coding video using cognito
I like cognito, and feel like I will still choose it over auth0 , but it still has poor documentation, you should talk about sessions and how cognito fails with access and refresh tokens as well as how it becomes expensive when going through different scenarios say adding flags to validate flows and challenges if you are working on more complex user authentication ( say multiple customers, invites, etc etc.). Still it is a great video introducing Cognito and your work is always amazing. I feel that you could do a couple of videos, based on your experience mentioning challenges faced with some AWS services that maybe a small project or company won`t face but that huge products and highly available systems will definitely do 👍 Again, awesome work and keep it going!
@Arturo Borbolla - can you please expand on this? Do you have examples of cost thresholds when adding complexity? Is there a viable, cheaper alternative when complexity is needed?
A note on that: I love cognito, it‘s a great service which fulfills all my needs. However, I have 2 pain-points which are quite annoying to get by:
- documention is (as for most services) absolute hell. it‘s all there - somewhere. you just need to guess the right words to find what you want to achieve in the docs or somewhere at stackoverflow
- it‘s not fast. logging in or refreshing a session sometimes takes a few seconds which can be painfully blocking.
additionally, aws-amplify was such an overkill for me that I decided to just go with the aws-sdk and it‘s js-client libs. they‘re much more straight forward and don‘t require a whole bootstrap setup.
still, great videos like yours are an immense help for beginners and also advancaed users as well.
Thanks for the great insight Misan! Definitely agree on the documentation point - it was a painful process to navigate it all to learn what I have.
Cheers
Great video. Content sugestion: create a passwordless authentication with Cognito using Triggers.
Great suggestion! Thanks Higor.
Great video! Can you make a video on Elastic Beanstalk flask api vs lambda for the same? How many concurrent requests can ELB actually handle?
Would request for the same
nice. thanks
Nice video
can I use cognito for the applications hosted in onprem data center, VM Ware OR any other Private Cloud ?
Thanks you this video is great explain the concepts and core. But i could to show examples using programming languages, and explore more about integrations app using examples
Good to know.
Thanks!
Great work!
In the use case, how does your own backend server validate Cognito token?
Hi there, good question!
There's some well documented steps on how to validate the token here: docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-using-tokens-verifying-a-jwt.html
In short, first you validate the format of the token before validating the token itself with a private key offered by Cognito for your user pool.
Hope this helps
is there any option of getting a token besides the URL, Actually I fetch the access token from the URL and then validate it from my frontend(js) via API headers but it has a security flaw, upon login, it shows my Access token in the URL or is there any option to hide it
If a user, authenticated through Cognito, has the ability to assume multiple IAM roles with distinct S3 permissions, will these permissions be aggregated, allowing the user to access S3 objects based on the combined set of permissions from all assumed roles?
u should upload more videos on cognito with lab
If you have users using OTP and want to move over to Cognito and ensure they can also log in user SSO, how do you do that?
Not being able to signout from the amazon provider. Automatically being signed in, instead of showing the sign form. Any Solutions?
This all goes well when using a hosted UI. If I need to use my own authentication UI (for different languages) it becomes hell of a mess.
literally just turned off my college lecture to watch this
Where is the link to the left part at 15:33?
How to connect Cognito with Spring boot application ?
Gold
It is sad that cognito does not have support for flutter web. Luckly I understand enough angular to make my frontend but Flutter would be easier for me
👏
Nice video, but using implicit flow and / or tokens in url is antipattern this days....
Cognito does support PKCE (although I don't think you can enforce its use)
@how to diagram @15:00
If only cognito would support localisation of the hosted UI.
It is 2022 and they support only the English language!??
Man for your own security migrate away from last pass, they’ve had multiple breaches