Coding NodeJS APIs (pt 5) - Learn how to build APIs with NodeJS & AWS

preview_player
Показать описание
I'm going to demonstrate how you can use AWS Cognito, an authentication platform from AWS, to prevent unauthorized access to certain routes of a Node API. We're going to create a custom middleware to be used in your routes that validates with Cognito before performing any actions.

👩‍💻 Get the Code:

👋 Connect w/me:

__________________________________________

🖥 My Rig

__________________________________________

🎥 Streaming Gear

__________________________________________

⏯ My Coding Series'

__________________________________________

📚 Other Excellent Learning Resources

Please note that links in this description may or may not be affiliate links, where I make a small commission if used.

Thanks For Watching!
Рекомендации по теме
Комментарии
Автор

Very cool. I don't know much about the incognito space!

JamesQQuick
Автор

If in the case I want a validator that checks if someone is an admin, do I have to write a separate validator method, or can I somehow pass in a value? For example can I do something like: .get([validateAuth("admin")], async(req, res) => { ... }

jessefinnegan
welcome to shbcf.ru