2016-12-12 72 views
0

我無法使用Firebase的signInWithCustomToken登錄。我 得到一個錯誤,象下面這樣:firebase.auth.signInWithCustomToken不是函數node.js

Error creating custom token: TypeError: firebase.auth.signInWithCustomToken is not a function 

任何一個可以展示如何在火力地堡定製的NodeJS令牌登錄?

+0

請分享[重現問題所需的最小代碼](http://stackoverflow.com/help/mcve)。 –

回答

1

auth後缺少括號嗎?它應該是:

firebase.auth().signInWithCustomToken(myToken)