Permalink
Browse files

Add Debug String.

  • Loading branch information...
red
red committed Oct 31, 2012
1 parent 5bfe8bd commit e04742db25507586e6b1c7d4ce6995b51dde1de0
Showing with 4 additions and 1 deletion.
  1. +4 −1 lib/omniauth/strategies/cooki.rb
@@ -21,7 +21,10 @@ class Cooki < OmniAuth::Strategies::OAuth2
end
def raw_info
- @raw_info ||= access_token.get('/me').parsed
+ @raw_info ||= access_token.get('/users/me').parsed
+ Rails.logger.info "TEST !!!!!!!!!!!!!!!!!!"
+ Rails.logger.ingo access_token.inspect
+ Rails.logger.ingo access_token.@raw_info
end
end
end

0 comments on commit e04742d

Please sign in to comment.