Login into mutiple site using login tokens/cookies?
- 主要语言
- TypeScript
- 星标
- 7.8k
- 派生
- 2.2k
- 平均合并
- 22 小时 28 分钟
- 30 天内合并 PR
- 6
描述
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?
贡献指南
调研方向
从 @angular/fire 身份验证集成以及 issue 中描述的 Firebase username/password 和 custom-token 流程开始。检查共享的 Firebase 项目是否能够在不同域之间保留身份验证;完成意味着确定一条有文档记录的受支持路径或明确的限制。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- angular, firebase, typescript
- 领域
- authentication
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100