From 9a5e8a117e08f7505eea07509dac9d9565d0ee41 Mon Sep 17 00:00:00 2001 From: Sasha Klizhentas Date: Mon, 9 Dec 2019 19:59:09 -0800 Subject: [PATCH] Relax restrictive traits schema, fixes #3053 This commit relaxes restriction on traits names that breaks OIDC claims using URL format or @ symbols. --- lib/services/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/user.go b/lib/services/user.go index b71ef9ab1eb5b..2922b83a82360 100644 --- a/lib/services/user.go +++ b/lib/services/user.go @@ -281,7 +281,7 @@ const UserSpecV2SchemaTemplate = `{ "type": "object", "additionalProperties": false, "patternProperties": { - "^[a-zA-Z/.0-9-_:]+$": { + "^.+$": { "type": ["array", "null"], "items": { "type": "string"