英文:
Unity Firebase Access without Firebase Authentication
问题
我明白典型的认证系统使用Google或其提供商之一,但我有自己的认证系统,不兼容。
我想知道是否有可能创建一个在应用程序分发时就内置的“服务账号”。我的逻辑是这个“服务账号”是安全的,因为我们将需要我的认证系统的批准来使用它。
我知道有一个AnonymousAuthentication选项,但我想尽量避免出现外部(即Google)的登录界面。
英文:
I understand that the typical authentication system uses Google or one of their providers, but I have my own authentication system that isn't compatible.
I was wondering if it was possible to create a "service account" that is baked into the app as it's distributed. My logic is that this "service account" is secure because we will require my authentication system's approval to utilize.
I am aware of an AnonymousAuthentication option, but I want to avoid presenting an external (read: Google) login screen as much as possible.
答案1
得分: 0
Firebase提供了一种相对简单的方式来使用您自己的自定义身份验证进行登录。
使用您的自定义身份验证的最直接方法是将登录凭据传递给您的服务器,使用您自己的方法进行确认,然后使用Firebase Admin SDK 返回令牌,以供用户进行身份验证。
英文:
Firebase provides a relatively easy way to use your own custom authentication to sign in.
The most straightforward approach to using your custom auth is to pass login credentials to your server, confirm them using your own method and return tokens using the Firebase Admin SDK for users to authenticate with.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论