angular / angular/angularfire

Login into mutiple site using login tokens/cookies?

Ouverte
#3,416 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
TypeScript
Étoiles
7.8k
Forks
2.2k
Merge moyen
22 h 28 min
PR mergées (30 j)
6

Description

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?

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par l’intégration de l’authentification de @angular/fire et les flux Firebase username/password et custom-token décrits dans l’issue. Vérifiez si un projet Firebase partagé peut préserver l’authentification entre des domaines distincts ; le travail est considéré comme terminé lorsqu’une voie prise en charge et documentée ou une limitation claire a été établie.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
angular, firebase, typescript
Domaine
authentication
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.