Skip to content

Commit

Permalink
updating readme and gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
gsiener committed Feb 7, 2012
1 parent c3e7a13 commit 8ff775e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
18 changes: 6 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# OmniAuth Intuit

**Note:** This gem is designed to work with the unreleased OmniAuth 1.0 library. It will not be officially released on RubyGems.org until OmniAuth 1.0 is released.

This gem contains the LinkedIn strategy for OmniAuth.
This gem contains the Intuit strategy for OmniAuth 1.0

Intuit uses the OAuth 1.0a flow, you can read about it here: https://ipp.developer.intuit.com/0010_Intuit_Partner_Platform/0030_Intuit_Anywhere/0036_Coding_Your_App/0050_OAuth_for_Intuit_Anywhere

Expand All @@ -13,20 +11,16 @@ Usage is as per any other OmniAuth 1.0 strategy. So let's say you're using Rails
gem 'omniauth'
gem 'omniauth-intuit'

Of course if one or both of these are unreleased, you may have to pull them in directly from github e.g.:

gem 'omniauth', :git => 'https://github.com/intridea/omniauth.git'
gem 'omniauth-intuit', :git => 'https://github.com/jaigouk/omniauth-intuit.git'

Once these are in, you need to add the following to your `config/initializers/omniauth.rb`:
Next, you need to add the following to your `config/initializers/omniauth.rb`:

Rails.application.config.middleware.use OmniAuth::Builder do
provider :intuit, "consumer_key", "consumer_secret"
end

You will obviously have to put in your key and secret, which you get when you register your app with LinkedIn (they call them API Key and Secret Key).
You will get your consumer key and secret when you register your app with Intuit Anywhere. (See
https://ipp.developer.intuit.com/0010_Intuit_Partner_Platform/0030_Intuit_Anywhere/0040_Hello_World_IA for an example)

Now just follow the README at: https://github.com/intridea/omniauth
You can now follow the OmniAuth README at: https://github.com/intridea/omniauth

## Running example code

Expand All @@ -42,7 +36,7 @@ Now just follow the README at: https://github.com/intridea/omniauth

## License

Copyright (c) 2011 by Jaigouk Kim
Copyright (c) 2011 by Jaigouk Kim, Profitably

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
6 changes: 3 additions & 3 deletions omniauth-intuit.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ require "omniauth-intuit/version"
Gem::Specification.new do |s|
s.name = "omniauth-intuit"
s.version = Omniauth::Intuit::VERSION
s.authors = ["Jaigouk Kim"]
s.email = ["jaigouk@gmail.com"]
s.homepage = "https://github.com/jaigouk/omniauth-intuit"
s.authors = ["Jaigouk Kim, Graham Siener"]
s.email = ["jaigouk@gmail.com, graham.siener@profitably.com"]
s.homepage = "https://github.com/profitably/omniauth-intuit"
s.summary = %q{Intuit strategy for OmniAuth.}
s.description = %q{Intuit strategy for OmniAuth.}

Expand Down

0 comments on commit 8ff775e

Please sign in to comment.