Let's say I want to make a school app. The school has 100 students. And now I want to make an account for each student (100 accounts) using id as username and a custom password. Students can't change the password, it's static. Should I use the Firebase Authentication? If so, how can I do that? This is the json example:
{
"users": {
"246001": {
"id": "246001",
"name": "Anam Stanley",
"password": "111"
},
"246002": {
"id": "246002",
"name": "Bella Preston",
"password": "112"
},
"246003": {
"id": "246003",
"name": "Killian Serrano",
"password": "113"
},
"246004": {
"id": "246004",
"name": "Madelaine Dickinson",
"password": "114"
},
"246005": {
"id": "246005",
"name": "Maximus Ramirez",
"password": "115"
}
}
}
If you want to manage users creation (or import) you need to use Firebase Admin SDK
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.