angular / angular/angularfire

Login into mutiple site using login tokens/cookies?

Offen
#3,416 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
7.8k
Forks
2.2k
Ø Merge
22 Std. 28 Min.
Gemergte PRs (30 T.)
6

Beschreibung

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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne mit der @angular/fire-Authentifizierungsintegration und den im Issue beschriebenen Firebase username/password- und custom-token-Abläufen. Prüfe, ob ein gemeinsames Firebase-Projekt die Authentifizierung über separate Domains hinweg beibehalten kann; abgeschlossen ist dies, wenn ein dokumentierter unterstützter Weg oder eine klare Einschränkung festgestellt wurde.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
angular, firebase, typescript
Bereich
authentication
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.