Conversation
|
NOTE: requires OasisLMF/OasisPlatform#1342 and OasisLMF/OasisLMF#1879 fixes to work with authentik. You might get some client not set, network errors or 4xx errors if not using these. |
Migration GuideRefactors the Docker Compose setup and adds built-in OIDC support via Keycloak and Authentik. To learn how to run, see README.md. What ChangedTLDR. The docker compose files more closely match the kubernetes version from OasisPlatform now. Renamed Compose Files
Old files remain in the repo but are no longer used by I've not touched the NOTE: New Files Added
Infrastructure Additions
Base Image Changes
Database Engine String ChangesSQLAlchemy / psycopg version updates require updated engine strings in
The
|
…pts, updates streamlit to support oidc auth, updates readmes
| 1. Open a shell on the keycloak pod: | ||
|
|
||
| ``` | ||
| kubectl exec -it deployment/keycloak bash |
There was a problem hiding this comment.
minor: in the UI for now everything runs through docker so might want to map the kubectl commands in this file to their docker counterparts?
| else | ||
| # Fallback to python | ||
| USERS_JSON=$(python3 -c " | ||
| import yaml, json, sys |
There was a problem hiding this comment.
pyyaml not installed by requirements, should add if needed
| echo " Keycloak: http://${OASIS_UI_HOSTNAME}/auth/admin" | ||
| echo " (${KEYCLOAK_ADMIN_USER} / ${KEYCLOAK_ADMIN_PASSWORD})" | ||
| elif [ "$API_AUTH_TYPE" = "authentik" ]; then | ||
| echo " Authentik: http://${OASIS_UI_HOSTNAME}/authentik/if/admin" |
There was a problem hiding this comment.
URL for admin panel needs a # at the end e.g. http://ui.oasis.local/authentik/if/admin/#
Otherwise goes to page not found
Adds OIDC login to python UI
Updates docker compose files to add oidc containers.
closes #47