DEV Community

Discussion on: How to share Firebase Authentication across subdomains

Collapse
 
eghernqvist profile image
eghernqvist

Fantastic documentation of the flow, got pretty much the entire flow implemented except for the mentioned monitoring of the csst cookie. All implementations of any sort of cookie "event listeners" I find have some setInterval hackiness going on, so I'm curious if you have any pointer as to how you'd monitor the presence of the cookie?

Cheers, again!

Collapse
 
johncarroll profile image
John Carroll

Sorry, I missed this comment when you originally made it. I also monitor the presence of the cookie using setInterval (I don't think there's any other way to do it). Specifically, I use the interval() observable creation function from rxjs.