-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TT-13375] Improved Upstream Auth validation rules #6694
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
API Changes no api changes detected |
PR Code Suggestions ✨Explore these optional code suggestions:
|
Quality Gate failedFailed conditions |
User description
TT-13375
https://tyktech.atlassian.net/browse/TT-13375
Description
Made Upstream Auth basic auth fields required: pwd, username and header
Made Upstream Oauth enabled and allowedAuthorizeTypes required
PR Type
enhancement
Description
username
andpassword
fields required.headerName
field toheader
inX-Tyk-UpstreamBasicAuthentication
, referencingX-Tyk-AuthSource
.X-Tyk-UpstreamOAuth
to requireallowedAuthorizeTypes
and allowextraMetadata
to benull
.Changes walkthrough 📝
x-tyk-api-gateway.json
Enhance validation rules for Upstream Auth configurations
apidef/oas/schema/x-tyk-api-gateway.json
username
andpassword
fields required inX-Tyk-UpstreamBasicAuthentication
.headerName
toheader
with a reference toX-Tyk-AuthSource
.allowedAuthorizeTypes
required inX-Tyk-UpstreamOAuth
.extraMetadata
to benull
inX-Tyk-UpstreamOAuth
.