From 812364b9bb6b0192d0eb17839f7299ecd99cc06c Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 25 May 2016 18:21:00 +1000 Subject: [PATCH] try id --- plugin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.rb b/plugin.rb index e4716b2..0efb625 100644 --- a/plugin.rb +++ b/plugin.rb @@ -75,7 +75,7 @@ class OAuth2BasicAuthenticator < ::Auth::OAuth2Authenticator end def after_authenticate(auth) - log("after_authenticate response: \n\ncreds: #{auth['credentials'].to_hash}\ninfo: #{auth['info'].to_hash}\nextra: #{auth['extra'].to_hash}") + log("after_authenticate response: \n\ncreds: #{auth['credentials'].to_hash}\ninfo: #{auth['info'].to_hash}\nextra: #{auth['extra'].to_hash}\nid: #{auth[:id]}") result = Auth::Result.new token = auth['credentials']['token']