https://github.com/johnf/omniauth-myspace
MySpace strategy for omniauth
https://github.com/johnf/omniauth-myspace
Last synced: 11 months ago
JSON representation
MySpace strategy for omniauth
- Host: GitHub
- URL: https://github.com/johnf/omniauth-myspace
- Owner: johnf
- License: mit
- Created: 2012-03-06T13:13:46.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-06-20T16:13:43.000Z (almost 14 years ago)
- Last Synced: 2025-05-19T09:54:19.901Z (about 1 year ago)
- Language: Ruby
- Homepage:
- Size: 93.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Omniauth::Myspace
MySpace OAuth2 strategy for OmniAuth 1.0
## Installation
Add this line to your application's Gemfile:
gem 'omniauth-myspace'
And then execute:
$ bundle
Or install it yourself as:
$ gem install omniauth-myspace
## Usage
Here's a quick example, adding the middleware to a Rails app in `config/initializers/omniauth.rb`:
```ruby
Rails.application.config.middleware.use OmniAuth::Builder do
provider :myspace, ENV['MYSPACE_KEY'], ENV['MYSPACE_SECRET']
end
```
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request