Secure your API Gateway with Amazon Cognito User Pools | Step by Step AWS Tutorial

Amazon Cognito is a powerful AWS service that enables user logins and federated identities. Cognito can be leveraged as an authentication and authorization mechanism for your APIs built through AWS API Gateway. In this video, I show you how to create an Amazon Cognito User Pool and attach it as an authentication handler to your API Gateway REST api.
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...
Interested in authentication using Lambda instead? Check out • Secure your API Gatewa...
📚 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 Driver 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

Пікірлер: 260

  • @davyboy951
    @davyboy951 Жыл бұрын

    love that you don’t scrub the mistakes out of your videos. thats how real life goes, and i feel it’s important for those new to the industry to see their seniors working through mistakes. great video.

  • @BeABetterDev

    @BeABetterDev

    Жыл бұрын

    Mistakes happen in real life! Its important to see the whole process :D

  • @mogomotsiseiphemo1681
    @mogomotsiseiphemo168110 ай бұрын

    Great video! At this point 23:45 , to avoid having to manually change from "code" to "token" in the redirect, you just have to select "Implicit grant" only when setting the OAuth 2.0 Auth Flow at 7:20 !

  • @shishamo-san

    @shishamo-san

    7 ай бұрын

    Thank you:)

  • @manavkhandurie3591

    @manavkhandurie3591

    4 ай бұрын

    Thank you so much

  • @TheTruthNotControl
    @TheTruthNotControl3 жыл бұрын

    This was a brilliant tutorial. I have watched many videos from various people on youtube, udemy and you name it, I have been on the sites. Yet you talked in such a, lets get this done and ill show you manner instead of lots of talking but spoke about a process when needed was just great. I learned alot from this, thank you. I subbed and liked this video.

  • @BeABetterDev

    @BeABetterDev

    3 жыл бұрын

    Thank you so much for your kind words Daryl. I always try to present my content in a relatable way that synthesizes the complexity of a topic into an easy to understand presentation. I'm glad you found this useful - and thank you for the kind words! Daniel

  • @fatihersoy7559
    @fatihersoy7559 Жыл бұрын

    This video made me subscribe to your channel immediately. It's impressing how easy to understand from you, especially after spending hours on understanding nothing about the topic.

  • @ChardsonX
    @ChardsonX2 жыл бұрын

    I want to thank you! This lesson was really helpful and straightforward. Congratulations!

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    You're very welcome Ricardo! Thanks for the kind words!

  • @jeromeeusebius
    @jeromeeusebius2 жыл бұрын

    BeABetterDev: Thanks for putting this video together. I followed the API Gateway Lambda one and this version with Cognito. The option is Cognito is much richer and I will be exploring it with my app. It is good that the video is also an actual workthrough with details and it was easy and nice to follow and I was able to replicate the results.

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    Glad this was helpful!

  • @Ryuugaminechan
    @Ryuugaminechan3 жыл бұрын

    Was stuck with this for a couple of hours now. Didn't realize that you need to deploy the API after making changes. This video really helped me. Thanks!

  • @BeABetterDev

    @BeABetterDev

    3 жыл бұрын

    You're very welcome!

  • @meysammahmoudi5712
    @meysammahmoudi57122 жыл бұрын

    This is a really great video, simple and straightforward. thanks a lot

  • @eugenevedensky6071
    @eugenevedensky60712 жыл бұрын

    This video along with your RDS lambda integration video is pretty much all you need to get a robust web app going super quickly. Great content. EDIT: In case you ever read this, do you have any insight how you might apply RBAC with this strategy?

  • @INMYMIND1221
    @INMYMIND1221 Жыл бұрын

    This is amazing, this helps me a lot in building side projects user authentication!!

  • @bboyBoomgaarden
    @bboyBoomgaarden2 жыл бұрын

    THANK YOU!!! I spent my entire day trying to figure out why I wasn't getting the id_token returned and it was because the URL i was using didn't have openid added to the URL!!!! I read every doc and stack overflow article I could find, thank you for making this video!! You got yourself another subscriber :D

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    Hi Jake, Super glad I was able to help you out. Thanks so much for the kind words and welcome to the channel! Daniel

  • @arpankhetani7818
    @arpankhetani7818 Жыл бұрын

    Thank you for the well explaination of the Cognito and the demo.. It worked smoothly for me following the steps you mentioned..

  • @pms123ms
    @pms123ms2 жыл бұрын

    amazing video, just right speed and right contents for api security with AWS

  • @rohitghali609
    @rohitghali6092 жыл бұрын

    Mind blown... Was looking for exactly this. Fantastic.

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    Glad you enjoyed Rohit!

  • @arkadiyshuvaev
    @arkadiyshuvaev2 жыл бұрын

    Great work! I have learnt a lot from your video. Thank you and all the best :)

  • @radu2329
    @radu23293 жыл бұрын

    Amazing job,man. THANK YOU SO MUCH

  • @sebastiencrepel5032
    @sebastiencrepel50322 жыл бұрын

    Hello. Thank you so much. This step by step video is a gold mine !

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    You're very welcome Sebastien!

  • @ryanl8119
    @ryanl8119 Жыл бұрын

    Dude, this video is gold. Thank you 🙏

  • @tonislavatanasov112
    @tonislavatanasov1122 жыл бұрын

    Exactly what I was looking for. Thanks! You just got yourself another sub

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    Thanks Tonislav and welcome to the channel!

  • @chrisnuttle4302
    @chrisnuttle4302 Жыл бұрын

    Actually practical thanks a lot. This has helped me a lot.

  • @craigmacritchie3087
    @craigmacritchie30873 жыл бұрын

    This was great! awesome job Daniel!

  • @BeABetterDev

    @BeABetterDev

    3 жыл бұрын

    Thanks Craig! Glad you enjoyed :)

  • @dannevesdantas
    @dannevesdantas4 ай бұрын

    Excellent! Thanks so much!

  • @cachuelasaimonrobertl.455
    @cachuelasaimonrobertl.4552 жыл бұрын

    You're an absolute mad lad! saved me hours of reading docs lol

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    You're very welcome Cachuela!

  • @scottjennings2165
    @scottjennings2165 Жыл бұрын

    this just saved a ton of time. Forgot to deploy API and was using the test URL or some shit. Thanks bro

  • @BeABetterDev

    @BeABetterDev

    Жыл бұрын

    You're very welcome Scott! I've been bitten by that problem too many times.

  • @ihorkonovalenko9389
    @ihorkonovalenko93892 жыл бұрын

    Thanks for great practical explanation! Very useful video.

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    Glad it was helpful!

  • @cass4649
    @cass46492 жыл бұрын

    Thank you for your videos. They are amazing, the notification is enabled in order to receive news content 😀

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    Thanks Cas!

  • @joaovitor12full
    @joaovitor12full Жыл бұрын

    thank you very much, that's just what i needed

  • @surly_mel
    @surly_mel Жыл бұрын

    Thanks for the great video! I'd gotten past the initial login step just fine but had no idea what to do with the tokens passed back. Got a bit of template work to do linking the Lambdas/Gateway/Cognito but it should be easy peasy thanks to your demo.

  • @user-sd8su3cb2y
    @user-sd8su3cb2y4 ай бұрын

    Great video its really helps me to secure apigateway with cognito userpool

  • @nayanchoudhary4353
    @nayanchoudhary43533 жыл бұрын

    Thanks for this, just what I needed. Next, can you show how to provide access to user to a subset of lambda functions or APIs, instead of access to all?

  • @etseale
    @etseale3 жыл бұрын

    Nicely explained! Even I understand it. :) Thank You!

  • @BeABetterDev

    @BeABetterDev

    3 жыл бұрын

    Thanks etseale! Glad you enjoyed :)

  • @eiderantonioarangoamaya8475
    @eiderantonioarangoamaya84752 жыл бұрын

    Thanks bro, nice video. Highly appreciate it.

  • @vk2875
    @vk28752 жыл бұрын

    Thanks, this is just an excellent tutorial !!!

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    Thanks V! Glad you enjoyed :D

  • @chandeepsingh4161
    @chandeepsingh41612 жыл бұрын

    Bhai aapne balle balle karwa di!

  • @isharanka6020
    @isharanka60202 жыл бұрын

    thank youuuu for this tutorial. Helped me a lot!!

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    You're very welcome!

  • @shaunmccullagh5116
    @shaunmccullagh5116 Жыл бұрын

    Superb video, great stuff many thanks for posting

  • @alexandromaldonado2182
    @alexandromaldonado21823 жыл бұрын

    Awesome explanation

  • @st3114rr
    @st3114rr2 жыл бұрын

    This was so helpful--thanks a ton!

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    You're very welcome!

  • @damoga55
    @damoga553 жыл бұрын

    Thank you very much, this video helped me a lot.

  • @BeABetterDev

    @BeABetterDev

    3 жыл бұрын

    You're welcome!

  • @swaminathbera_a1
    @swaminathbera_a1 Жыл бұрын

    Awesome Man, Thanks for the hard way tip!! 😇😇

  • @derangeer
    @derangeer2 жыл бұрын

    Cool! awesome demo and great explanation.

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    Thanks Erick! Glad you enjoyed.

  • @rajapoudel5037
    @rajapoudel5037 Жыл бұрын

    Thanks for making the tutorial video. This video helps me a lot.

  • @sbnlalpnr
    @sbnlalpnr Жыл бұрын

    Nice explanation. Thank you

  • @deecee2204
    @deecee22043 жыл бұрын

    love this video, more on serverless architecture pls

  • @BeABetterDev

    @BeABetterDev

    3 жыл бұрын

    Thanks Dee, more coming soon!

  • @berkslv
    @berkslv3 жыл бұрын

    Thanks for great explanation !

  • @BeABetterDev

    @BeABetterDev

    3 жыл бұрын

    You are welcome!

  • @ToreyLittlefield
    @ToreyLittlefield2 жыл бұрын

    Masterclass. Thank you 🙏🚀

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    You're very welcome Torey!

  • @markthien
    @markthien Жыл бұрын

    Very nice tutorial bro!

  • @Umerfarooqai
    @Umerfarooqai3 жыл бұрын

    Who were those with 5 downvotes? Perhaps this was one of the best and easiest tutorials to understand the concepts.

  • @jasoncampbell1464

    @jasoncampbell1464

    4 ай бұрын

    Plot twist, you don't see the number of downvotes unless you downvoted yourself

  • @blackDrk
    @blackDrk2 жыл бұрын

    Thanks bro you saved me!!!!!!!! great video

  • @kreeve6144
    @kreeve61448 ай бұрын

    Love this video! The only thing I've found different in my scenario is that passing the Authorization header won't work with the access token. It only works with the id token for some reason

  • @The.Traveling.Nerddd
    @The.Traveling.Nerddd Жыл бұрын

    Nicely explained

  • @ppgg997
    @ppgg997 Жыл бұрын

    Great explanations!! One question, on authorizer test , you used Token id but calling the api path from Postman you put in header the access token instead. Whats the difference and why each one needed in the corresponding scenario?

  • @amarnatha1614
    @amarnatha16145 ай бұрын

    So nice & useful...

  • @tasleemhussein5228
    @tasleemhussein52282 жыл бұрын

    Awesome video, thanks bud!

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    You're very welcome Tasleem!

  • @markfiala3652
    @markfiala36522 жыл бұрын

    Fantastic video, I really appreciate it. In my case though, I’d like to use Cognito in kind of a stateless situation, I would prefer to enter the login and password in the header ( or base64 version of it with basic authentication) instead of logging in to get it token first. Reason being I’m connecting it from the output of other web services that do something and there isn’t really the mechanism to get a temporary token. Any ideas how to do that?

  • @Ko0lHaNDLuKex
    @Ko0lHaNDLuKex3 жыл бұрын

    This was great! Thanks a lot. Now I just need to figure out how to IaC this with Terraform!

  • @BeABetterDev

    @BeABetterDev

    3 жыл бұрын

    You're very welcome! For IaC, check out CDK! It can compile down to Terraform!

  • @BearVodkaAndValenki
    @BearVodkaAndValenki9 ай бұрын

    Thank you for the lesson)

  • @rsouza01
    @rsouza012 жыл бұрын

    Freaking amazing video!! Kudos for u! Learned a lot!

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    You're very welcome Rodrigo!

  • @vasudeva1408
    @vasudeva1408 Жыл бұрын

    Good demo

  • @dekcode2824
    @dekcode28243 жыл бұрын

    This is gold. Thanks man

  • @BeABetterDev

    @BeABetterDev

    3 жыл бұрын

    You're very welcome Dek!

  • @jasusig8946
    @jasusig89462 жыл бұрын

    You are the best bro, thanks.

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    Thanks Jasu!

  • @branquitodemunze
    @branquitodemunze2 жыл бұрын

    Thanks a lot! Great explanation.

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    You're very welcome Pakito!

  • @ajaygulani3086
    @ajaygulani30862 жыл бұрын

    Great video! Just a question - how come when you point to the URL for the API it does not redirect to the login page? or would you need to create that in your client side code in something like an "IF" statement?

  • @mohammadrezabagheri8336
    @mohammadrezabagheri83362 жыл бұрын

    Thanks, awesome job!

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    You're very welcome Mohammad!

  • @fahimfahad7026
    @fahimfahad70262 жыл бұрын

    Excellent video

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    Thank you very much Fahim!

  • @kishanlal676
    @kishanlal6762 жыл бұрын

    23:49 I guess you don't have to do that manually if you allow only the 'Implicit grant' when you check the 'Allowed OAuth Flows' section at 7:25 which would set the response_type to token automatically. But, this is not suggested unless you're using a Single Page App without any backend

  • @karthiksakthivel7108
    @karthiksakthivel7108 Жыл бұрын

    Simple and super video...

  • @BeABetterDev

    @BeABetterDev

    Жыл бұрын

    Thank you!

  • @viswatejaforu
    @viswatejaforu2 жыл бұрын

    Thanks a lot, you saved my day

  • @caleyCodeLab
    @caleyCodeLab Жыл бұрын

    you're a king

  • @NurseDaveBSMSON
    @NurseDaveBSMSON2 жыл бұрын

    Excellent

  • @longdo6858
    @longdo68582 жыл бұрын

    thanks u! I get stuck until get your video!

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    Glad I was able to help Long!

  • @linfrank4215
    @linfrank4215 Жыл бұрын

    helpful video, thanks.

  • @BeABetterDev

    @BeABetterDev

    Жыл бұрын

    You're welcome!

  • @kmilo4307
    @kmilo43072 ай бұрын

    Thanks. I was waiting to see at the end the web page with the fields requesting for username and pw

  • @dacao9240
    @dacao92402 жыл бұрын

    Thanks!

  • @shubhampahurkar298
    @shubhampahurkar2982 жыл бұрын

    very helpful. Thanks a lot

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    You're very welcome!

  • @user-qj4hd7ks5z
    @user-qj4hd7ks5z2 жыл бұрын

    Thank you very much

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    You're very welcome!

  • @freeworldtour
    @freeworldtour3 жыл бұрын

    OMG...yes i need this useful video...

  • @BeABetterDev

    @BeABetterDev

    3 жыл бұрын

    Thank you! Hope you enjoy :)

  • @psychic8872
    @psychic88723 жыл бұрын

    Can you use as callback the API url? It should be possible to configure the authorizer I believe to read the token of callback. Thank you for the helpful video

  • @jonathanfalcone3437
    @jonathanfalcone34372 жыл бұрын

    This video is amazing! Very generous of you to take time and publish this for public viewing. Just out of curiosity is it possible for a user to login via the HostedUI and then have access to api gateway via the browser? If you don't have tech savy customers they likely don't want to access the API via Postman but would prefer to just login and have access, any chance if you know this is possible ? Thanks so much again :)

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    Hi Jonathan, Hm, I don't think this is possible using any out of the box tools unfortunately. Sorry to share the bad news. I think it wouldn't be too much work to create a simple React app with a couple input boxes / text areas to call the corresponding UI once logged in. Thanks so much for the kind words! Daniel

  • @SilviasBrainery

    @SilviasBrainery

    Жыл бұрын

    @@BeABetterDev i guess this answers my question.....

  • @zanelesibanyoni7951
    @zanelesibanyoni79513 жыл бұрын

    thank you for this video

  • @BeABetterDev

    @BeABetterDev

    3 жыл бұрын

    You're very welcome Zanele!

  • @Puttosenkanava
    @Puttosenkanava3 жыл бұрын

    Is there a way to make the cognito-authorizer only allow certain usergroups from Cognito to invoke the lambda or do I need to make own lambda authorizer?

  • @AhumadaMauricio
    @AhumadaMauricio2 жыл бұрын

    Great video. I think there's a little change in the way the authorization token is validated in the api gateway, in order to send a request using postman make sure you send the token using the Authorization tab and selecting "Bearer " on the dropdownlist. Do not include the token on the URL as this will not be correctly authorized by api gateway.

  • @SilviasBrainery

    @SilviasBrainery

    Жыл бұрын

    Can you explain this a little more, please?

  • @sanooosai
    @sanooosai Жыл бұрын

    thank you

  • @oy_oy
    @oy_oy2 жыл бұрын

    genius, brilliant

  • @thamizhi6819
    @thamizhi68193 жыл бұрын

    i am trying to use this method with amplify base vue app. got some pointers going to explore

  • @theethicalh3707
    @theethicalh37072 жыл бұрын

    thank you very much bro i want to like that video 100000000 time

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    You're very welcome!

  • @Diegoefectivo
    @Diegoefectivo2 жыл бұрын

    Thank you so much

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    Very welcome

  • @pratappadhy2005
    @pratappadhy2005 Жыл бұрын

    Awesome

  • @TheGuroguro12
    @TheGuroguro122 жыл бұрын

    Thanks.

  • @fasiltadesse2687
    @fasiltadesse26872 жыл бұрын

    Thank you, sir

  • @galzafar2943
    @galzafar2943 Жыл бұрын

    I liked the tutorial, very clear and precise. how do you accomplish machine to machine authentication ie. using a client id and secret (from my shallow understanding). as I understand I would either send the client id and secret to the endpoint, and the api gateway will take care of it, which is a better option in my opinion. the other other would be to request an access token (using the id and secret) and then using that to authenticate. what is the "right" way?

  • @fabian-manzano
    @fabian-manzano6 ай бұрын

    So nice video, I love it, can I ask to get the token, you ammend the URL from code to token, however if my user wants to get this value programmatically, how they would do that?

  • @michaelakin766
    @michaelakin766 Жыл бұрын

    Thanks for this video. Question. Why does AWS not require "Bearer" in the Authorization header like seems to be standard everywhere else?

  • @moisesfloresestay7158
    @moisesfloresestay71583 жыл бұрын

    Muy agradecido! Gracias!

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    You're very welcome Moises!

  • @hbladeh
    @hbladeh Жыл бұрын

    If I understand correctly what you did is basically by writing token into the URL you switched from "Authorization code" grant to "Implicit" grant type. If you're using a URL that's outside of AWS and travels through the web use code instead and use the Token endpoint of the identity provider (in this case Cognito), to get a token in the Body, and post it as a header in the HTTP Request, not as the part of the URL itself.

  • @TheDhanuroutu
    @TheDhanuroutu3 жыл бұрын

    How can we give access to a specific API to a user using the cognito authorizer?

  • @inacomic
    @inacomic2 жыл бұрын

    Top man! Thank you for creating this - and including the fail! lol

  • @BeABetterDev

    @BeABetterDev

    2 жыл бұрын

    You're very welcome! The fails just adds to the realism :P Cheers

  • @inacomic

    @inacomic

    2 жыл бұрын

    @@BeABetterDev Hi 👋 Do you have a video walking through adding a cognito user to a dynamodb?

  • @JoshPeak
    @JoshPeak3 жыл бұрын

    Currently running into issues trying to adapt this to the "HTTP API" on API Gateway to use Cognito User Pools as an authorizer but stumbling on the step about JWT as a source. I'll fumble my way through it and I wanted to say that I am grateful your content getting me this far. Authorizing the new HTTP API Gateway could be another idea for content if that's something to add to your list of content ideas. Thanks for the high quality content though ^_^

  • @BeABetterDev

    @BeABetterDev

    3 жыл бұрын

    Hey josh, Have you tried taking a look at my video on HTTP APIs in API Gateway? I think you can possibly combine the content from this video and the one below. kzread.info/dash/bejne/f21l2LqdmtnLZ6Q.html Hope this helps. Daniel

  • @JoshPeak

    @JoshPeak

    3 жыл бұрын

    @@BeABetterDev thanks for the reply. I managed to fumble my way through it with this video kzread.info/dash/bejne/oWuDqtGghca4naw.html The one you just linked me, filled in some gaps for me about logging and cloud watch. 👏 Thanks again for all of your content. I’ve smashed the like 👍 button on all the videos that I have watched (to feed the algorithm).

  • @BeABetterDev

    @BeABetterDev

    3 жыл бұрын

    Thanks so much Josh! I'm glad you were able to work through it and appreciate the support! Thanks again and stay safe :)

  • @tricialee5183
    @tricialee51832 жыл бұрын

    Thanks for a great tutorial. Can you also share on how I can get the apigateway endpoint to be open (no auth) but being able to retrieve cognito user information if user is logged in? I've been looking for way to retrieve cognitoAuthenticationProvider. If user is not logged in, it'll be either empty or unauthorized. If logged in, user id will be there.

  • @thetedsingh
    @thetedsingh2 жыл бұрын

    This was awesome, but could you show how I could get from curl/Postman how to get the access token?