Keycloak follow-ups for the dev environment
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- docker-compose, json, python
- 领域
- authentication, devops
调研方向
The work is in containers/frontend/app-config.js, realm_pyronear.json, etl_scripts, and containers/notebooks/app/api.py; first check the dependency on #68 and read how the init script uses the pyro-scripts service account. Update the dev frontend Keycloak settings and replace both legacy /login/creds logins with that account. Done when the redirect settings are present and neither flow depends on superadmin credentials.
由索引模型根据 Issue 内容生成。
描述
Blocked by #68.
1. Front container (make run) — needed no later than the release of pyronear/new-pyro-platform#295
- Add
KEYCLOAK_URL,KEYCLOAK_CLIENT_IDandKEYCLOAK_REDIRECT_URI(http://localhost:8080/) tocontainers/frontend/app-config.js. - Add
http://localhost:8080/*to the redirect URIs andhttp://localhost:8080to the web origins of thenew-pyro-platformclient inrealm_pyronear.json. - Can be added before the release: the current image ignores these keys.
2. Stop using the legacy login — needed before LEGACY_USER_TOKENS_ENABLED is set to false in pyro-api
etl_scriptsstill logs in with the superadmin credentials through/login/creds.get_tokenincontainers/notebooks/app/api.pydoes the same.- Both should use the
pyro-scriptsservice account, as the init script already does.
Note
- The realm ships dev secrets in clear and has brute-force protection disabled. Fine for this repository, but it must not be used as a base for the production realm.
- 主要语言
- Jupyter Notebook
- 星标
- 1
- 派生
- 5
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
pyronear/pyro-envdev 的其他 Issue
-
enhancement good first issue help wanted
难度 3/5 1-2 天 新手友好度 64/100
pyronear/pyro-envdev#64 ·
-
enhancement help wanted
难度 3/5 1-2 天 新手友好度 68/100
pyronear/pyro-envdev#63 ·
-
enhancement help wanted
难度 4/5 3-5 天 新手友好度 48/100
pyronear/pyro-envdev#62 ·
-
enhancement good first issue help wanted
难度 3/5 1-2 天 新手友好度 57/100
pyronear/pyro-envdev#61 ·
-
Playwright test: acknowledge an alert可能重新可做 @princecherry9905 于 33 天前认领,目前没有进行中的 PR。 未关闭enhancement good first issue help wanted
难度 3/5 1-2 天 新手友好度 57/100
pyronear/pyro-envdev#60 · 1 条评论 ·
查看 pyronear/pyro-envdev 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
bug module:core
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
digitalfabrik/integreat-app#4558 ·
维护者通常 5 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
google/osv-scanner#3327 ·
维护者通常 1 天内回复