Permalink
Browse files

Remove domain from oauth_callback in config/twitter_auth.yml

  • Loading branch information...
1 parent 28cc463 commit 8ded5dfad35e81239305432825afe7a611043025 @jasonm jasonm committed Mar 14, 2010
Showing with 3 additions and 3 deletions.
  1. +3 −3 generators/clearance_twitter/templates/twitter_auth.yml
@@ -8,7 +8,7 @@ development:
# Learn more at: http://apiwiki.twitter.com/Sign-in-with-Twitter
authorize_path: "/oauth/authenticate"
- oauth_callback: "http://localhost:3000/twitter_users/oauth_callback"
+ oauth_callback: "/twitter_users/oauth_callback"
# api_timeout: 10
# remember_for: 14 # days
test:
@@ -19,7 +19,7 @@ test:
authorize_path: "/oauth/authenticate"
# api_timeout: 10
# remember_for: 14 # days
- oauth_callback: "http://example.com/twitter_users/oauth_callback"
+ oauth_callback: "/twitter_users/oauth_callback"
cucumber:
strategy: oauth
oauth_consumer_key: testkey
@@ -28,4 +28,4 @@ cucumber:
authorize_path: "/oauth/authenticate"
# api_timeout: 10
# remember_for: 14 # days
- oauth_callback: "http://example.com/twitter_users/oauth_callback"
+ oauth_callback: "/twitter_users/oauth_callback"

0 comments on commit 8ded5df

Please sign in to comment.