首页
编程教程
编程导航
编程百科
编程问答
编程博文
编程实例
硬件设备
网络运营
软件教程
移动数码
办公软件
操作系统
人工智能
在Android中使用后端进行Firebase身份验证
编程问答
2022-09-30
问题描述
我计划使用Firebase进行身份验证并为我的Android应用建立聊天。但是我为其余的API定制了后端。 我们可以同时使用
自定义
后端身份验证和Firebase身份验证吗?
解决方法
当然。您需要:
Sign the user in with Firebase Authentication in your app
。
通过安全连接传递
user's ID token from the app to your server
。
Decode and validate the ID token.
确保用户有权执行他们要执行的操作。
android
android
firebase
firebase