Login into mutiple site using login tokens/cookies?
- Lenguaje dominante
- TypeScript
- Estrellas
- 7.8k
- Forks
- 2.2k
- Merge medio
- 22 h 28 min
- PR fusionados (30 d)
- 6
Descripción
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?
Guía de contribución
Línea de trabajo
Empieza con la integración de autenticación de @angular/fire y los flujos de Firebase username/password y custom-token descritos en el issue. Comprueba si un proyecto de Firebase compartido puede conservar la autenticación entre dominios separados; se considera completado establecer una ruta compatible documentada o una limitación clara.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- angular, firebase, typescript
- Área
- authentication
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100