Skip to content

rasa/opauth-disqus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Disqus authentication strategy for Opauth

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages