README.rdoc in raj-authlogic-oauth-1.0.8 vs README.rdoc in raj-authlogic-oauth-1.0.10
- old
+ new
@@ -78,19 +78,18 @@
class UserSession < Authlogic::Session::Base
def self.oauth_consumer
OAuth::Consumer.new("TOKEN", "SECRET",
- { :site=>"http://twitter.com",
- :authorize_url => "http://twitter.com/oauth/authenticate" })
+ { :site=>"http://api.twitter.com",
+ :authorize_url => "http://api.twitter.com/oauth/authenticate" })
end
end
=== 6. Add login and register buttons to your views
- <%= oauth_register_button :value => "Register with Twitter" %>
- <%= oauth_login_button :value => "Login with Twitter" %>
+ <%= oauth_login_button :value => "Login with Twitter" %>
That's it! The rest is taken care of for you.
= Here are some next steps for the plugin.