Skip to content

Commit

Permalink
[TT-13375] Improved Upstream Auth validation rules
Browse files Browse the repository at this point in the history
  • Loading branch information
lghiur committed Nov 6, 2024
1 parent fa63dbe commit 3e5e3f6
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions apidef/oas/schema/x-tyk-api-gateway.json
Original file line number Diff line number Diff line change
Expand Up @@ -2022,8 +2022,8 @@
"enabled": {
"type": "boolean"
},
"headerName": {
"type": "string"
"header": {
"$ref": "#/definitions/X-Tyk-AuthSource"
},
"username": {
"type": "string"
Expand All @@ -2033,7 +2033,9 @@
}
},
"required": [
"enabled"
"enabled",
"username",
"password"
]
},
"X-Tyk-UpstreamOAuth": {
Expand All @@ -2043,7 +2045,10 @@
"type": "boolean"
},
"allowedAuthorizeTypes": {
"type": ["array", "null"],
"type": [
"array",
"null"
],
"items": {
"type": "string",
"enum": [
Expand Down Expand Up @@ -2075,7 +2080,10 @@
"$ref": "#/definitions/X-Tyk-AuthSource"
},
"extraMetadata": {
"type": "array"
"type": [
"array",
"null"
]
}
},
"required": [
Expand Down Expand Up @@ -2112,7 +2120,10 @@
"$ref": "#/definitions/X-Tyk-AuthSource"
},
"extraMetadata": {
"type": "array"
"type": [
"array",
"null"
]
}
},
"required": [
Expand All @@ -2123,7 +2134,12 @@
"password"
]
}
}
},
"required": [
"enabled",
"allowedAuthorizeTypes"
]
}

}
}

0 comments on commit 3e5e3f6

Please sign in to comment.