Sha256: 30d596d91e9140384742a9ad3d2aa9d0299321464e24772ff5d1df0c253ebdbc

Contents?: true

Size: 807 Bytes

Versions: 1

Compression:

Stored size: 807 Bytes

Contents

# OmniAuth Teamwork  ![Build Status](https://github.com/kalpana0795/omniauth-teamwork/actions/workflows/ci.yml/badge.svg) [![Gem Version](https://badge.fury.io/rb/omniauth-teamwork.svg)](https://rubygems.org/gems/omniauth-teamwork)

This gem contains the Teamwork strategy for OmniAuth.

## Installing

Add to your `Gemfile`:
```ruby
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`:

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
omniauth-teamwork-1.0.1 README.md