Reddit OAuth

Component ID

1946076

Component name

Reddit OAuth

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module provides authentication services and a the Reddit OAuth2 API to perform actions against Reddit.

Currently, this module allows users to connect a Reddit account with the Drupal account. Once the user is connected, the module provides a generic function to call Reddit API actions. Available actions are listed here: http://www.reddit.com/dev/api/oauth

Requirements

  • libcurl ( Must be accessable via PHP. The curl Drupal module will enforce this requirement. )

Setup

  1. Setup Reddit app for Reddit OAuth to connect with
  2. Make a note of App ID and Secret
  3. Enter the redirect uri as `$base_url/reddit_oauth/connect` where `$base_url` is your Drupal URI. For example `http://mydrupalsite.com/reddit_oauth/connect`. The redirect uri that Drupal will send to Reddit is shown in the `/admin/settings/reddit_oauth` page for convience. That URI should be identical to what is in the Reddit redirect uri field.
  4. Enter App ID and Secret in the Drupal Reddit OAuth settings.

Status messages will try to prompt the user to correctly setup the module. Pay attention to the Drupal status page to verify that everything is configured.