code: func GetOauthClientID(service string) (string, error) {
  	session := db.GetSession()
  	defer session.Close()
  
  	config := globalconfig.NewManager()
  	globalconfig.InitModels()
  
  	clientIDModel, err := config.GetByKey(service + "-clientid")
  	log.Warn(clientIDModel.Value)
  	if err != nil {
  		log.Errorf("No Oauth client id found for %s. Please insert it into the collection globalconfig with key %s-clientid",
  			service, service)
  	}
  	return clientIDModel.Value, err
  }
docs: // GetOauthClientID gets the oauth secret from mongodb for a specified service. If it doesn't exist, an error gets logged.