Permalink
Browse files

generates a proper callback_uri when SCRIPT_NAME is set

  • Loading branch information...
1 parent 076e2c2 commit 32f6ffd6339ad7e3d3ddeafefa81c9638436c7f6 kiyoshi 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 32f6ffd

Please sign in to comment.