Keycloak follow-ups for the dev environment
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- docker-compose, json, python
- Ambito
- authentication, devops
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Jupyter Notebook
- Stelle
- 1
- Fork
- 5
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di pyronear/pyro-envdev
-
enhancement good first issue help wanted
Difficoltà 3/5 1-2 giorni Idoneità per principianti 64/100
pyronear/pyro-envdev#64 ·
-
enhancement help wanted
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
pyronear/pyro-envdev#63 ·
-
enhancement help wanted
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
pyronear/pyro-envdev#62 ·
-
enhancement good first issue help wanted
Difficoltà 3/5 1-2 giorni Idoneità per principianti 57/100
pyronear/pyro-envdev#61 ·
-
Playwright test: acknowledge an alertForse di nuovo libera @princecherry9905 l’ha presa 33 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement good first issue help wanted
Difficoltà 3/5 1-2 giorni Idoneità per principianti 57/100
pyronear/pyro-envdev#60 · 1 commento ·
Tutte le issue di pyronear/pyro-envdev
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
bug module:core
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
digitalfabrik/integreat-app#4558 ·
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
google/osv-scanner#3327 ·
I maintainer di solito rispondono entro 1 giorno