PHPackages                             rnewton/opauth\_reddit - 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. rnewton/opauth\_reddit

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

rnewton/opauth\_reddit
======================

Reddit strategy for Opauth

0.1.0(10y ago)117[1 issues](https://github.com/rnewton/opauth_reddit/issues)MITPHPPHP &gt;=5.2.0

Since Jun 30Pushed 10y ago1 watchersCompare

[ Source](https://github.com/rnewton/opauth_reddit)[ Packagist](https://packagist.org/packages/rnewton/opauth_reddit)[ Docs](http://opauth.org)[ RSS](/packages/rnewton-opauth-reddit/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

Opauth-Reddit
=============

[](#opauth-reddit)

[Opauth](https://github.com/uzyn/opauth) strategy for Reddit authentication.

Implemented based on

Opauth is a multi-provider authentication framework for PHP.

Getting started
---------------

[](#getting-started)

1. Install Opauth-Reddit:

    ```
    composer require rnewton/opauth_reddit
    ```
2. Create a Reddit app

    - Make sure that redirect URI is set to actual OAuth 2.0 callback URL, usually `http://path_to_opauth/reddit/oauth2callback`
3. Configure Opauth-Reddit strategy.
4. Direct user to `http://path_to_opauth/reddit` to authenticate

Strategy configuration
----------------------

[](#strategy-configuration)

Required parameters:

```
