From 933277997211808d2a169ea88b9c032462ba40c0 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 25 May 2016 16:40:57 +1000 Subject: [PATCH] auth object is way to heavy --- plugin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.rb b/plugin.rb index f67cb83..1dc9a0e 100644 --- a/plugin.rb +++ b/plugin.rb @@ -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']