DEV Community

Discussion on: How to share Firebase Authentication across subdomains

Collapse
 
chanhlt12 profile image
chanhlt12

Thank you for your helpful post.
But I don't understand why we need Firebase functions here.
I means why we don't create corresponding endpoints on the accounts.domain.com itself like this:

  • accounts.domain.com/users-signin
  • accounts.domain.com/users-checkAuthStatus
  • accounts.domain.com/users-signout

Could you please explain more on this?

Collapse
 
johncarroll profile image
John Carroll

But I don't understand why we need Firebase functions here.

My approach uses Firebase functions to accomplish the goal. I imagine there are other ways of accomplishing the goal as well.