https://github.com/rasa/opauth-disqus
Disqus authentication strategy for Opauth
https://github.com/rasa/opauth-disqus
Last synced: 4 months ago
JSON representation
Disqus authentication strategy for Opauth
- Host: GitHub
- URL: https://github.com/rasa/opauth-disqus
- Owner: rasa
- License: mit
- Created: 2012-11-03T02:09:53.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2015-08-09T00:18:43.000Z (almost 11 years ago)
- Last Synced: 2025-05-21T00:35:39.377Z (about 1 year ago)
- Language: PHP
- Size: 156 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Opauth-Disqus
=============
[Opauth][1] 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:
```bash
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
3. Configure Opauth-Disqus strategy with `api_key` and `api_secret`.
4. Direct user to `http://path_to_opauth/disqus` to authenticate
Strategy configuration
----------------------
Required parameters:
```php
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)
[1]: https://github.com/uzyn/opauth