lib/omniauth/heart.rb
##
# Called when the authorization server grants us an authorization code.  With
# the authorization code, we make another call to the authorization server to
# request an access token.  We need the access token to access resources from
# the resource server.
Called when the authorization server grants us an authorization code.  With
the authorization code, we make another call to the authorization server to
request an access token.  We need the access token to access resources from
the resource server.
Called when the authorization server grants us an authorization code . With the authorization code we make another call to the authorization server to request an access token . We need the access token to access resources from the resource server .
def callback_phase
        log :debug, "====== Entering Heart::callback_phase ======"
        @access_token = request_access_token(request)
        log :debug, "------ Access token = #{@access_token} ------"
        super
      end
def callback_phase log :debug , "====== Entering Heart::callback_phase ======" @access_token = request_access_token ( request ) log :debug , "------ Access token = #{@access_token} ------" super end
Called when the authorization server grants us an authorization code.
Called when the authorization server grants us an authorization code .