Hello everybody, is everything ok?
I am working in a flask project which uses some firebase services. I can push a value in the
database, upload files and register new accounts without any problem. But I am facing some difficult to connect the push or the upload to the user whose did it.
I would like to set this rules for read and write actions ("auth != null"), in my database. It
works as expected, but the I only can post if I set, in firebase_admin.initialize_app:
...
'databaseAuthVariableOverride': {
'uid': 'my-service-worker-or-any',
}
...
It makes my application a bit more secure. But it remains a problem because I can't get any user
information. I would like to allow for each user the access of your own path. I have a jupyter notebook
in this notebook I can post, because it is guaranteed by firebase_admin, I would like to get information
about the user, therefore the post should be guaranteed by login. Anyone has one idea where I am missing?
Every source, repository or documentation will make me very grateful. Thank you so much, have a nice day!