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.

Build an example: curl

Build an example: curl

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

Start my 1-month free trial

Build an example: curl

- [Instructor] The resource owner password flow is one of the simplest flows to implement, which unfortunately makes it seductive. Once again, I'm including it here for completeness not because you should use it very often, if ever. For context, I'm using the PHP-based League OAuth server with some example flows, all of which are included in the exercise files. This is the same configuration that we'll use later for the client credential flow, so don't delete this when you're done. To get set up quickly, open the Read Me file and run each of those commands. Most of them should take just a second or two except for the Composer install step. That may take longer depending on your internet connection. I'd recommend pausing the video now while you run those. All right, so now you should be all set. Within the Read Me, if you scroll down a few lines, you'll see the sample resource owner password request. While you can just copy…

Contents