In this video I'll show you how to secure a Node.js API service with Basic Auth and OAuth2! Sign up for Stormpath: http://bit.ly/2fVwNGx Read the full blog post here: http://bit.ly/2fSCJ0F I’ll walk to through how to: Use HTTP Basic Authentication strategies Use OAuth2 Client Credentials Grant authentication Plug in the Stormpath Express library to your application Create a simple Express API that returns a JSON Authenticate a user when accessing API using the Stormpath Express library Authenticate from a web server to a backend API Use Bearer Tokens for authorization
Use to request data from API's. Both building your first API and requiring authentication to access it! Project Source Code: https://github.com/BrentAureli/Youtube-Tutorials These tutorials are for educational purposes only. Code demonstrated in these tutorials should not be used in production environments.
In this video we will start our login and registration application using Node.js, Express and Passport. We will setup our modules, middleware and create a Bootstrap layout. Code For This Series - https://github.com/bradtraversy/loginapp 12 Project Node.js Course: https://www.eduonix.com/affiliates/id/16-10200 Learn Node.js From Scratch Course: https://www.eduonix.com/affiliates/id/16-10033
A teaser to our new series of videos on how to build an Oauth 2 system using NodeJS and Angular 2.
Get the full video, script, activities and code at: https://knpuniversity.com/screencast/oauth OAuth: that mystical beast that you kind of understand and occasionally wrestle to integrate with some social media site. Time to master OAuth... and why not do it by building a real app with farmers, chickens and real-life providers like Facebook and Google Plus. We'll show you how OAuth really works while looking at how OAuth will feel by using SDK's and other tools that give you shortcuts. And like always, we'll go directly at the ugly details, like token expiration and having a user deny access to your application. Here's what you'll be learning: - 3 main OAuth grant types: client credentials, authorization code and implicit; - The exact flow behind getting your application authorized, exchanging an authorization code for a token, and using the token; - Authentication (single sign-on) using OAuth; - Handling expired tokens; - Using refresh tokens; - Integrating and authentication with Facebook; - OAuth integration with Google+; - What to look out for with security and how you can tighten things.