code: def discover_OP_information(OP_uri):
      
      _, content = httplib2.Http().request(
          '%s/.well-known/openid-configuration' % OP_uri)
      return _json_loads(content)
docs: Discovers information about the provided OpenID Provider.
  
      :param OP_uri: The base URI of the Provider information is requested for.
      :type OP_uri: str
      :returns: The contents of the Provider metadata document.
      :rtype: dict
  
      .. versionadded:: 1.0