Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/naveed-ahmad/omniauth-smashrun
OmniAuth strategy for Smashrun.
https://github.com/naveed-ahmad/omniauth-smashrun
omniauth-strategy smashrun
Last synced: about 1 month ago
JSON representation
OmniAuth strategy for Smashrun.
- Host: GitHub
- URL: https://github.com/naveed-ahmad/omniauth-smashrun
- Owner: naveed-ahmad
- License: mit
- Created: 2017-08-28T02:43:26.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T22:24:54.000Z (almost 2 years ago)
- Last Synced: 2024-04-25T17:05:19.969Z (8 months ago)
- Topics: omniauth-strategy, smashrun
- Language: Ruby
- Homepage:
- Size: 32.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Gem Version](https://badge.fury.io/rb/omniauth-smashrun.svg)](https://badge.fury.io/rb/omniauth-smashrun)
# Omniauth::Strategies::Smashrun
Omniauth strategy for Smashrun ( https://api.smashrun.com/v1/documentation )## Installation
Add this line to your application's Gemfile:
gem 'omniauth-smashrun'
And then execute:
$ bundle
Or install it yourself as:
$ gem install omniauth-smashrun
## Usage
Register **Smashrun Strategy** in omniauth configuration file(config/initializers/omniauth.rb)
```ruby
Rails.application.config.middleware.use OmniAuth::Builder do
provider :smashrun, 'client id', 'client secret'
end
```Use [Smasrun clinet gem](https://github.com/naveed-ahmad/smashrun) for consuming smashrun api
## License
[MIT License](http://www.opensource.org/licenses/mit-license.php)