通过自定义提供程序使用Firebase Auth [英] Using Firebase Auth with Custom providers

查看:52
本文介绍了通过自定义提供程序使用Firebase Auth的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在需要使用Facebook,Twitter,Google和Twitch进行身份验证的附带项目中使用Firebase.不幸的是,Firebase Auth不支持使用Twitch开箱即用.我想知道解决问题的最佳方法:我可以使用Firebase Auth&一个仅适用于Twitch的自定义身份验证系统?

I'm using Firebase in a side project that requires authentication using Facebook, Twitter, Google and Twitch. Unfortunately, Firebase Auth doesn't support authentication using Twitch out of the box. I would like to know the best approach to solve the problem: can I use Firebase Auth & a Custom Auth system only for Twitch?

推荐答案

Firebase支持使用任何提供程序登录,只要您愿意为其编写代码即可.名为创建自定义令牌的页面创建自定义令牌.

Firebase supports signing in with any provider, as long as you are willing to write the code for it. The process is pretty well documented in a page called creating custom tokens.

如果您正在寻找其他提供商的示例,请查看 functions-样本回购,其中包含ao使用LinkedIn,Okta和Spotify登录的示例.

If you're looking for samples for other providers, have a look at the functions-samples repo, which contains a.o. samples for signing in with LinkedIn, Okta, and Spotify.

这篇关于通过自定义提供程序使用Firebase Auth的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆