auth object is way to heavy

This commit is contained in:
Sam 2016-05-25 16:40:57 +10:00
parent 5bf30f90c2
commit 9332779972
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class OAuth2BasicAuthenticator < ::Auth::OAuth2Authenticator
end
def after_authenticate(auth)
log("after_authenticate response: \n\n#{auth}")
log("after_authenticate response: \n\ncreds: #{auth['credentials'].to_hash}\ninfo: #{auth['info'].to_hash}\nextra: #{auth['extra'].to_hash}")
result = Auth::Result.new
token = auth['credentials']['token']