You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An Omniauth strategy for Trello's OAuth 1.0 authentication.
Read the Trello API documentation for more information on obtaining an application key and secret.
Installation
Add this line to your application's Gemfile:
gem 'omniauth-trello'
And then bundle:
$ bundle
Or install it yourself as:
$ gem install omniauth-trello
Usage
OmniAuth::Strategies::Trello is a Rack middleware strategy for the OmniAuth gem. Look at the OmniAuth project page for more information on how to use OmniAuth.
Specify other scopes with a comma separated string (no spaces), example: 'read,write,account'
read scope
Read all of your boards and organizations
write scope
Create and update cards, lists and boards
Make comments for you
account scope
Read your email address
Contrary to Trello's documentation, user email is only given when using the read,write,account or read,account scope.
expiration if omitted, it defaults to 30 days (Trello default). You can use arguments like: "never", "1day", "30days"
If you don't specify 'never', Trello will ask for user approval on every subsequent login and application will duplicate on the user's account settings page in Trello. I recommend using the never scope.