code: def fromConfigFile(filename = DEFAULT_CONFIG_FILE):
      
      parser = SafeConfigParser()
      section = 'fenixedu'
      parser.read(filename)
  
      client_id = parser.get(section, 'client_id')
      redirect_uri = parser.get(section, 'redirect_uri')
      client_secret = parser.get(section, 'client_secret')
  
      base_url = parser.get(section, 'base_url')
      api_endpoint = parser.get(section, 'api_endpoint')
      api_version = parser.get(section, 'api_version')
  
      return FenixEduConfiguration(client_id = client_id,
                                    redirect_uri = redirect_uri,
                                    client_secret = client_secret,
                                    base_url = base_url,
                                    api_endpoint = api_endpoint,
                                    api_version = api_version)
docs: Read settings from configuration file