Skip to content

Commit

Permalink
Relax restrictive traits schema, fixes #3053
Browse files Browse the repository at this point in the history
This commit relaxes restriction on traits names
that breaks OIDC claims using URL format or @ symbols.
  • Loading branch information
klizhentas authored and russjones committed Dec 10, 2019
1 parent c4f8d24 commit b21286c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/services/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ const UserSpecV2SchemaTemplate = `{
"type": "object",
"additionalProperties": false,
"patternProperties": {
"^[a-zA-Z/.0-9-_:]+$": {
"^.+$": {
"type": ["array", "null"],
"items": {
"type": "string"
Expand Down

0 comments on commit b21286c

Please sign in to comment.