When I use FirebaseDB, it doesn't run with the API key(Alza~~~). I've already found something that doesn't run with the API key, and I've found a way to use the "data secrets".
I already have the APIkey.
When I use FirebaseDB, it doesn't run with the API key(Alza~~~). I've already found something that doesn't run with the API key, so I've found a way to use the "data secrets".
As already said, you do not need the API key or the database secrets token to connect the experimental Firebase component to the Firebase realtime database. You really would not want to use the Firebase secrets key because this would leave your data wide open.
In essence you use the authenticated user's idToken to provide access to the data, which means an authenticated user must sign in in order to return a valid idToken. There is also a refresh token mechanism which I have not covered in the guide above.
Using the database secret token is not recommended because this exposes your entire firebase!
Thank you for your continued response. The site you suggested is already in my bookmark, and I've read it dozens of times. It's one of the things I've tried but I failed to apply to my case.
I'm currently trying to use firebaseDB, as I did in the beginning.
This is how I want to do it. But when I apply this code, I get "permission denied." The weird thing is that there were times when I successfully uploaded data this way without any problems. It's weird that it's the same code, but it's a different result.
I'm still looking for help or relevant guides for my case.
The experimental firebase component is not designed to (and will not) work with secure rules.
Where can I find that information? I didn't know that.
Can you tell me how to turn my list into a form for using web components? I've read and followed a lot of guides, but they all only provide short examples, so it doesn't work well in my case. How do I apply it if I already have a list form like myself?
As you can hopefully see, the list data is stored in firebase as a firebase array, and this is then returned as a stringified json array to the app (use the jsontextDecode block to convert back to an ai2 list)