Skip to content

kalpana0795/omniauth-teamwork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OmniAuth Teamwork  Build Status Gem Version

This gem contains the Teamwork strategy for OmniAuth.

Installing

Add to your Gemfile:

gem 'omniauth-teamwork'

Then bundle install

Usage

OmniAuth::Strategies::Teamwork is simply a Rack middleware. Read the OmniAuth docs for detailed instructions: https://github.com/intridea/omniauth.

Here's a quick example, adding the middleware to a Rails app in config/initializers/omniauth.rb:

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :teamwork, ENV['TEAMWORK_CLIENT_ID'], ENV['TEAMWORK_CLIENT_SECRET']
end

License

Copyright (c) 2023 Kalpana, Inc. See LICENSE for details.