2016-03-02 50 views
0

Firebase是否支持使用oAuth为提供者Angellist进行身份验证?OAuth Angellist with Firebase

我尝试以下(假设我有权利的access_token):

ref.authWithOAuthToken("angellist", access_token, function(error, AuthData) { 
      if (error) { 
      console.log("Login Failed!", error); 
      } else { 
      console.log("Authenticated successfully with payload:", AuthData); 
      } 
     }); 

但它返回:

Error: Invalid authentication provider specified 

这可怎么预防?

回答

1

对于供应商Angellist,Firebase是否支持使用oAuth进行身份验证?

支持的身份提供商名单可以找到here。 Angellist不在那里。

+0

谢谢。阿哈我认为oAuth功能独立支持所有的oAuth提供程序。尽管如此,我还是找到了一个定制令牌的工作。 – JohnAndrews