firebase / firebase/firebaseui-web-react

Use inside a modal

未关闭
#46 2 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
JavaScript
星标
1.3k
派生
246
PR 合并指标
30 天内没有已合并 PR

描述

I'm trying to use this component inside a modal, but the browser redirects to www.accountchooser.com and then back to my page. The problem is that the redirect clears my state and makes the modal disappear (default state is hidden). Any idea how to get around this? I'm using the popup signinflow but this is still happening. Is there a way to open www.accountchooser.com in a different tab or something? Thanks

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

使用 popup signinflow 在模态框内复现 React 组件,并观察导航到 accountchooser.com 及返回的过程。调查组件的 redirect 和 state 行为;完成的标准是 sign-in flow 不再意外关闭模态框或丢失其 state。

由索引模型根据 Issue 内容生成。

评估

技术栈
firebase, javascript, react
领域
authentication, frontend
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。