This commit is contained in:
Sam 2016-05-25 18:21:00 +10:00
parent e8b2307acd
commit 812364b9bb
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class OAuth2BasicAuthenticator < ::Auth::OAuth2Authenticator
end end
def after_authenticate(auth) 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 result = Auth::Result.new
token = auth['credentials']['token'] token = auth['credentials']['token']