remove allowHttps its not needed anymore