OmniAuth::Strategies::Webex
OAuth2 Strategy for Cisco WebEx Teams (Cisco Spark)
Installation
Add this line to your application's Gemfile:
gem 'omniauth-webex-oauth2'
And then execute:
$ bundle
Or install it yourself as:
$ gem install omniauth-webex-oauth2
Usage
You can register your application here and get client_id
& client_secret
.
Here's an example for adding the middleware to a Rails app in config/initializers/omniauth.rb:
Rails.application.config.middleware.use OmniAuth::Builder do
provider :webex, ENV["WEBEX_CLIENT_ID"], ENV["WEBEX_CLIENT_SECRET"]
end
Contributing
Bug reports and pull requests are welcome.
- Fork it
- Create your feature branch (
git checkout -b new-feature
) - Commit your changes along with test cases (
git commit -m 'Add feature'
) - If possible squash your commits to one commit if they all belong to same feature.
- Push to the branch (
git push origin new-feature
) - Create new Pull Request.
License
The gem is available as open source under the terms of the MIT License.