Permalink
Browse files

Merge pull request #329 from kiyoshi/master

respect SCRIPT_NAME on OAuth2 strategy
  • Loading branch information...
2 parents f217073 + 32f6ffd commit de7af0b15b76946f6148fdd73ad2d0f7688ecc36 Michael Bleigh committed May 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 oa-oauth/lib/omniauth/strategies/oauth2.rb
@@ -49,7 +49,7 @@ def client
end
def callback_url
- full_host + callback_path
+ full_host + script_name + callback_path
end
protected

0 comments on commit de7af0b

Please sign in to comment.