Keycloak follow-ups for the dev environment
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- docker-compose, json, python
- Lĩnh vực
- authentication, devops
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Jupyter Notebook
- Star
- 1
- Fork
- 5
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pyronear/pyro-envdev
-
enhancement good first issue help wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 64/100
pyronear/pyro-envdev#64 ·
-
enhancement help wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
pyronear/pyro-envdev#63 ·
-
enhancement help wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
pyronear/pyro-envdev#62 ·
-
Playwright test: alert historyĐang mởenhancement good first issue help wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 57/100
pyronear/pyro-envdev#61 ·
-
Playwright test: acknowledge an alertCó thể làm lại được @princecherry9905 đã nhận 33 ngày trước và không có pull request nào đang mở. Đang mởenhancement good first issue help wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 57/100
pyronear/pyro-envdev#60 · 1 bình luận ·
Tất cả issue của pyronear/pyro-envdev
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug module:core
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Randomize crash report user IDsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
digitalfabrik/integreat-app#4558 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
google/osv-scanner#3327 ·
Maintainer thường phản hồi trong vòng 1 ngày