From the course: Web Security: OAuth and OpenID Connect (2019)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Configuring an OAuth server in Node.js

Configuring an OAuth server in Node.js

From the course: Web Security: OAuth and OpenID Connect (2019)

Start my 1-month free trial

Configuring an OAuth server in Node.js

- [Instructor] As I showed with PHP you can run your own OAuth server with a variety of open source packages out there. This is another example one but based in JavaScript. And I use the example to get this going as quickly as possible. First, we follow the directions here, so let's go ahead and go into this directory. And we'll clone this repository. It'll take just a moment depending on your internet connection. We go ahead and move the files around just a little bit here. Now we can go ahead and install the packages themselves. This will set up everything for us behind the scenes so we have to do very little manually. And next up we can go ahead and we can start this package. So now this is running, this is actually hosting an OAuth server for us. But let's go ahead and check on a couple different things to make some changes. Now that we've started this up we can see that it's pretty bare bones and uninteresting.…

Contents