Skip to content
OpAuth Strategy for Reddit
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Opauth strategy for Reddit authentication.

Implemented based on

Opauth is a multi-provider authentication framework for PHP.

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

Required parameters:

'Reddit' => array(
    'key' => 'YOUR CLIENT ID',
    'secret' => 'YOUR CLIENT SECRET'


Opauth-Reddit is MIT Licensed
Copyright © 2015 Robert Newton

You can’t perform that action at this time.