def validated_dynamically?
      logger.verbose("Attempting instance discovery at: #{discovery_uri}.")
      http_response = Net::HTTP.get(discovery_uri)
      if http_response.nil?
        logger.error('Dynamic validation received no response from endpoint.')
        return false
      end
      parse_dynamic_validation(JSON.parse(http_response))
    end
def validated_dynamically?
      logger.verbose("Attempting instance discovery at: #{discovery_uri}.")
      http_response = Net::HTTP.get(discovery_uri)
      if http_response.nil?
        logger.error('Dynamic validation received no response from endpoint.')
        return false
      end
      parse_dynamic_validation(JSON.parse(http_response))
    end
Performs instance discovery via a network call to well known authorities.

 @return [String]
   The tenant discovery endpoint, if found. Otherwise nil.