使用 Internet Explorer 9 时 AngularFire 中的身份验证错误 "Access Denied"

Authentication error "Access Denied" in AngularFire when using Internet Explorer 9

我使用 Firebase 进行简单的 email/password 身份验证。登录(使用 AngularFire 客户端)在 Firefox 和 Chrome 上工作正常,但在 IE9 上我收到 "Access Denied" 错误。此时我还没有建立安全规则,所以默认情况下所有请求都应该通过。我也试过放宽 IE 的安全设置,但仍然无法通过。这是我用来发出请求的 Coffeescript,基本上只是 AngularFire 文档中提供的模板:

.service 'loginService', ($firebaseAuth) ->
  ref = new Firebase "https://myapp.firebaseio.com"
  authObj = $firebaseAuth(ref)
  return {
    login: (user) ->
      authObj.$authWithPassword 
        email: user.email,
        password: user.password
      .then (authData)  ->
        console.log "Logged in as:", authData.uid
      .catch (error) ->
        console.error "Authentication failed:", error
    }

编辑:我使用的是 Firebase v.2.2.2 和 AngularFire v.1.0.0。

正如 Frank 在上面的评论中所说,这只是 Firebase 2.2.2 中的一个错误,已在 2.2.7 中修复。