SSO with Firebase

Hi all,

I have implemented the linked code - from the github and from the comment. I have worked through most errors (CORS was an issue).

I can now log in through my own Firebase Auth, however the session cookie is not passed on through app.get(/discourse,…). I have console.logged the debug statements and the sessionCookie is set to blank. When I console.log the req at that point there is no “cookies” of any sort in the req.

Does anybody have any idea what might be causing this or has already solved it?

Many thanks