angularfire icon indicating copy to clipboard operation
angularfire copied to clipboard

Login into mutiple site using login tokens/cookies?

Open Blunderchips opened this issue 2 years ago • 3 comments

We are looking to implement some sort of single sign-on. Is it possible to have cross-site/multiple application login? We are already using Firebase and this library for our authentication. We are making use of the username & password auth provider.

My current login is to save some sort of token on sign-in as a cookie on a shared domain. When you try to access one of the subsites, check and validate that token. If the token is not there/expired/invalid navigate to the single sign-on application. I see there is a method to sign-in using a custom token but I don't think that is what I am looking for.

The end goal is to have a couple of websites all sharing the same Firebase project and user details but for each to be on its own domain. Once a user has logged into one, using some sort of single sign-on, they should be able to visit any other site without needing to relogg-in.

Is this use-case currently supported by @angular/fire?

Blunderchips avatar Jul 31 '23 17:07 Blunderchips

This issue does not seem to follow the issue template. Make sure you provide all the required information.

google-oss-bot avatar Jul 31 '23 17:07 google-oss-bot

This issue does not seem to follow the issue template. Make sure you provide all the required information.

Great, we love hearing how we can improve our products! Remove the template below and
provide an explanation of your feature request.

Blunderchips avatar Jul 31 '23 17:07 Blunderchips

No possible then?

Blunderchips avatar Aug 14 '23 10:08 Blunderchips