Skip to content

Commit

Permalink
fix(oidc): improve empty credential handling
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Mar 7, 2022
1 parent d47150e commit 124d4ce
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions embedx/config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,10 @@
"then": {
"not": {
"properties": {
"client_secret": {}
"client_secret": {
"type": "string",
"minLength": 1
}
},
"required": [
"client_secret"
Expand All @@ -506,7 +509,10 @@
{
"not": {
"properties": {
"apple_team_id": {}
"apple_team_id": {
"type": "string",
"minLength": 1
}
},
"required": [
"apple_team_id"
Expand All @@ -516,7 +522,10 @@
{
"not": {
"properties": {
"apple_private_key_id": {}
"apple_private_key_id": {
"type": "string",
"minLength": 1
}
},
"required": [
"apple_private_key_id"
Expand All @@ -526,7 +535,10 @@
{
"not": {
"properties": {
"apple_private_key": {}
"apple_private_key": {
"type": "string",
"minLength": 1
}
},
"required": [
"apple_private_key"
Expand Down

0 comments on commit 124d4ce

Please sign in to comment.