Disqus authentication strategy for Opauth
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
DisqusStrategy.php
LICENSE
README.md
composer.json

README.md

Opauth-Disqus

Opauth strategy for Disqus authentication.

Implemented based on url using OAuth2.

Opauth is a multi-provider authentication framework for PHP.

Demo: http://opauth.org/#disqus

Getting started

  1. Install Opauth-Disqus:

    cd path_to_opauth/Strategy
    git clone git://github.com/rasa/opauth-disqus.git Disqus
  2. Register a Disqus application at http://disqus.com/api/applications/

    • Enter URL as your application URL (this can be outside of Opauth)
    • Callback URL: enter http://path_to_opauth/disqus/oauth2callback
  3. Under the settings tab, enter the Domains, without the scheme: example.com, not http://example.com

  4. Configure Opauth-Disqus strategy with api_key and api_secret.

  5. Direct user to http://path_to_opauth/disqus to authenticate

Strategy configuration

Required parameters:

<?php
'Disqus' => array(
    'api_key'    => 'YOUR API KEY',
    'api_secret' => 'YOUR API SECRET',
),

Optional parameters: scope

License

Opauth-Disqus is MIT Licensed
Copyright (c) 2012 Ross Smith II (http://smithii.com)