# Mastering OAuth 2.0

By Ben Ramsey

- **Date:** June 2, 2017
- **Event:** [Day Camp 4 Developers: PHPAppSec](https://web.archive.org/web/20181225113020/https://daycamp4developers.com/previous-meetings/phpappsec/)
- **Venue:** Online

---

- [View slides](https://speakerdeck.com/ramsey/mastering-oauth-2-dot-0-day-camp-4-developers)
- [Download PDF](https://files.benramsey.com/talks/2017/dc4d/benramsey-oauth2-dc4d.pdf)

---

OAuth 2.0 isn’t easy, and everyone has a slightly different implementation, making interoperability a nightmare. Fortunately, the PHP League of Extraordinary Packages provides league/oauth2-client. Aiming for simplicity and ease-of-use, league/oauth2-client provides a common way to access providers. This talk introduces OAuth concepts and demonstrates how to perform OAuth flows with league/oauth2-client, using Instagram as an example.


