A few years ago this was considered unsave and instead sessions should be used an the session Id should be replaced by the JWT token on the server side.
I'm wondering what is the current best practice?
https://firebase.google.com/docs/reference/js/v8/firebase.Us...
https://firebase.google.com/docs/auth/admin/verify-id-tokens