From 7d26c4cde97ea155ecfe88e7e898248b40cfc2b5 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Fri, 6 May 2022 12:54:42 -0400 Subject: [PATCH] Use persistent SAML identifiers Using "unspecified" will always send just the user's (FAS) username, which has been known to conflict with existing accounts on Gitlab. The "persistent" name-id format guarantees uniqueness. Signed-off-by: Stephen Gallagher --- roles/ipsilon/templates/saml2_data | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ipsilon/templates/saml2_data b/roles/ipsilon/templates/saml2_data index fa7ec3410f..809ef4af5b 100644 --- a/roles/ipsilon/templates/saml2_data +++ b/roles/ipsilon/templates/saml2_data @@ -78,4 +78,4 @@ gitlab id = https://gitlab.com/groups/fedora gitlab type = SP gitlab name = gitlab.com gitlab Allowed Attributes = ["email"] -gitlab metadata = urn:oasis:names:tc:SAML:1.1:nameid-format:unspecifiedRequired attributes +gitlab metadata = urn:oasis:names:tc:SAML:2.0:nameid-format:persistentRequired attributes