lib/omniauth/strategies/azure_activedirectory.rb
##
# Overridden method from OmniAuth::Strategy. This is the second step in
# the authentication process. It is called after the user enters
# credentials at the authorization endpoint.
Overridden method from OmniAuth::Strategy. This is the second step in
the authentication process. It is called after the user enters
credentials at the authorization endpoint.
Overridden method from OmniAuth :: Strategy . This is the second step in the authentication process . It is called after the user enters credentials at the authorization endpoint .
def callback_phase
        error = request.params['error_reason'] || request.params['error']
        fail(OAuthError, error) if error
        @session_state = request.params['session_state']
        @id_token = request.params['id_token']
        @code = request.params['code']
        @claims, @header = validate_and_parse_id_token(@id_token)
        validate_chash(@code, @claims, @header)
        super
      end
def callback_phase error = request . params [ 'error_reason' ] || request . params [ 'error' ] fail ( OAuthError , error ) if error @session_state = request . params [ 'session_state' ] @id_token = request . params [ 'id_token' ] @code = request . params [ 'code' ] @claims , @header = validate_and_parse_id_token ( @id_token ) validate_chash ( @code , @claims , @header ) super end
Overridden method from OmniAuth::Strategy.
Overridden method from OmniAuth :: Strategy .