PHPackages                             austp/proauth - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. austp/proauth

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

austp/proauth
=============

PHP OAuth2 Library

1.0.1(8y ago)1379[2 issues](https://github.com/AustP/ProAuth/issues)MITPHP

Since Feb 28Pushed 6y ago1 watchersCompare

[ Source](https://github.com/AustP/ProAuth)[ Packagist](https://packagist.org/packages/austp/proauth)[ Docs](https://github.com/AustP/ProAuth)[ RSS](/packages/austp-proauth/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (3)Used By (0)

ProAuth
=======

[](#proauth)

This is a PHP OAuth2 library. It is easy to use. Let me show you.

Usage
-----

[](#usage)

Let's say you wanted to implement a "Login with FaceBook" button. All you need to do is redirect the user to `https://yourdomain.com/login/facebook` and make sure the following code runs when the user redirects there:

```
