Skip to content

Commit

Permalink
dynamic config
Browse files Browse the repository at this point in the history
  • Loading branch information
lancejpollard committed Jun 3, 2010
1 parent 1c93ddb commit 08c6fa7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.markdown
Expand Up @@ -241,4 +241,8 @@ Feel free to add to the wiki if you figure things out or make new distinctions.

- Try to create a session
- Session logs into provider
- On success, if no user, redirect to User#create
- On success, if no user, redirect to User#create

#### Notes

- Build mechanize tool to automatically create applications with service providers.
2 changes: 1 addition & 1 deletion lib/authlogic_connect/oauth/tokens/oauth_token.rb
Expand Up @@ -52,7 +52,7 @@ def consumer
if oauth_version == 1.0
@consumer = OAuth::Consumer.new(credentials[:key], credentials[:secret], config.merge(credentials[:options] || {}))
else
@consumer = OAuth2::Client.new(credentials[:key], credentials[:secret], config)
@consumer = OAuth2::Client.new(credentials[:key], credentials[:secret], config.merge(credentials[:options] || {})
end
end

Expand Down

0 comments on commit 08c6fa7

Please sign in to comment.