Reputation: 492
I got a couple of dedicated devices using the Android Management API and those devices need to access my AppEngine Endpoints, Cloud Storage etc. In my Kiosk App I'm currently using the Firebase AuthUi(Google Sign-in) and initially login to all devices with the same gmail address. Is there a way to authenticate my devices with Firebase that doesn't require me to manually sign in with the same gmail to every device?
Upvotes: 3
Views: 237
Reputation: 145
Create a specific email and password combination, and send it to your application via managed configurations.
Follow the steps at https://developer.android.com/work/managed-configurations to set up the managed configuration xml file and then set policy.applications[n].managedConfiguration
to
{
"email": "[email protected]",
"password": "kiosk password"
}
Then get the managed email and password from managed configuration in your app (also described in above ling), and use that to sign in with Firebase.
Upvotes: 0