Typical internet users connect to lots of different services and web applications. As we come to use more and more of these services, we expect them to integrate with each other for convenience and ease of use. Much of this integration is made possible through OAuth, a standard for authorizing integrations between applications securely and reliably.
In this Coffee Break Course, Envato Tuts+ instructor Simon Bacquie will explain what OAuth is and why it is used, through visuals and examples. You'll see an actual OAuth integration happen between two web apps that were written specifically for this course. You'll also get to look at Simon's simple implementation of OAuth in Laravel, step by step.
1. Understanding and Using OAuth in Laravel
[MUSIC] Hello and welcome to the Tuts+ Coffee Break Course on understanding OAuth through a simple implementation. In this course we'll step through an actual OAuth 2 implementation from a developer's perspective. If you're still a little fuzzy on what OAuth is or why we use it, you might want to check out the previous course in this series. It's called understanding OAuth, and it covers OAuth at a higher level from a user's perspective. We've got two Laravel applications. The first is my bookshelf, which is the OAuth provider. The second is WormRate, which is an OAuth consumer. In this course we'll be getting into code, API endpoints, and HTTP requests. So you'll want a good HTTP client if you don't have one already. The one used in this course is Postman, which is free to download from the Chrome extension store. In the GitHub repo for this course you'll find the source code for both applications, as well as a collection of presets for Postman that you can import on your own machine. I'm Simon Backey, your instructor for the course. Follow along with me and in about ten minutes you'll have an idea of what an OAuth implementation might look like.