Creating Reddit Login Button in PHP

In this tutorial I will show you how to create a Reddit login button for your website using PHP. What is OAuth? OAuth is a protocol used to allow secure authorization to websites and applications to access user information. There are two versions of OAuth, 1.0 and 2.0. In this post we will use OAuth 2.0 to build a Reddit login system.