O
O
Oposum2020-07-31 21:06:57
Angular
Oposum, 2020-07-31 21:06:57

What about the signInAnonymously Firebase token?

I will describe the situation:
At the very beginning, I set the rules for writing to the firebase realtime database to "true", that is, "test mode".
Created Anonymous authorization (rest api), well, everything is fine - writes, reads. I check authorization through uid, which is written and read through Localstorage. Token - did not touch at all, because it WAS not needed! But!
I changed the rules for reading / writing to the database to !auth==null and, of course, it stopped reading and writing, because you need to attach this token to the request, it's not very tricky. BUT the question arose:
How to take this token after 1 hour? Will he change? Who has experienced this? A very critical issue for me - only anonymous authorization is provided.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lrsvolk, 2020-07-31
@lrsvolk

Does the anonymous token really disappear?
It says no:
https://medium.com/@hajimenakamura/firebase-anonym...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question