feat(oidc): permit auto/manual oidc account link/unlink

link are checking that email matches, +email alias are normalize into email
if email is already used on another account, link is not possible
not usurpation risk as the IDP is choosen by the admin
This commit is contained in:
Edouard Vanbelle
2026-08-08 17:19:05 +02:00
parent d8b3f2e026
commit e9495a63ad
20 changed files with 1791 additions and 135 deletions
+4 -1
View File
@@ -179,10 +179,13 @@ wait_for_http "$base_url/ready" 120
log "Server is ready."
# ── 5. Run the OIDC Hurl suite ─────────────────────────────────────────────
# Order matters: oidc.hurl bootstraps the admin and JIT-provisions the
# `oidc_user` federated principal that link_unlink.hurl then reuses.
log "Running OIDC Hurl tests..."
hurl --variables-file "$OIDC_DIR/test.env" \
--file-root "$REPO_ROOT/tests" \
--test --jobs 1 \
"$OIDC_DIR/oidc.hurl"
"$OIDC_DIR/oidc.hurl" \
"$OIDC_DIR/link_unlink.hurl"
log "OIDC tests passed."