OAuth2 Strategy for Cisco WebEx Teams (Cisco Spark)
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
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
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.
The gem is available as open source under the terms of the MIT License.