lib/omniauth/strategies/identitas.rb in omniauth-identitas-0.2.2 vs lib/omniauth/strategies/identitas.rb in omniauth-identitas-0.2.3
- old
+ new
@@ -29,10 +29,10 @@
hash['application_info'] = application_info
hash
end
def raw_info
- @raw_info ||= access_token.get('/v1/me.json').parsed
+ @raw_info ||= access_token.get('/v1/me').parsed["info"]
rescue ::Errno::ETIMEDOUT
raise ::Timeout::Error
end
# # https://github.com/intridea/omniauth-oauth2/issues/81
\ No newline at end of file