-
Notifications
You must be signed in to change notification settings - Fork 42
Added possibility to set base identity provider for multiple chained … #621
Added possibility to set base identity provider for multiple chained … #621
Conversation
@bogumillaska Thank you for the contribution. I have reviewed the PR it looks great just need one change. |
Ah! @komalsukhani - thank you! Nice catch. |
99cbab4
to
59d5be2
Compare
I have approved the PR. It will be merged once QA tests it and will be available in patch release of Operator. |
config/samples/multiple-auth/httpbin_basic_authentication_and_mTLS.yaml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was trying this PR and demoing to my team. Got some suggestions. Can you please resolve them?
…mTLS.yaml Co-authored-by: Komal Sukhani <komaldsukhani@gmail.com>
…o use valid values
@komalsukhani I applied all the changes. |
@bogumillaska Looks perfect!! I will hand it over to QA to test. |
#621) * Added possibility to set base identity provider for multiple chained authentication * Update config/samples/multiple-auth/httpbin_basic_authentication_and_mTLS.yaml Co-authored-by: Komal Sukhani <komaldsukhani@gmail.com> * Adding validation of base_identity_provided_by and fixing the tests to use valid values --------- Co-authored-by: Komal Sukhani <komaldsukhani@gmail.com>
Adding the possibility to set base_identity_provider through tyk-operator.
Description
Currently you are able to set mutliple auth mechanism - however base_identity_provider remains empty which makes the dashboard confused about the true authentication type selected. That has implications for key creatation and update.
Until this PR - if you :
Related Issue
NA
Motivation and Context
We are using multiple authentication on our project and we want our API to be fully compliant with standard to rule out unpredictable behavior
Test Coverage For This Change
Added unit test TestApiDefinitionBaseIdentityProviderWithMultipleAuthTypes in apidefinition_test.go following a similar structure to the mtls configuration.
Added config/samples/multiple-auth/httpbin_basic_authentication_and_mTLS.yaml
Executed manual tests on kind cluster using ce mode
Screenshots (if appropriate)
Types of changes
Checklist
master
!master
branch (left side). Also, it would be best if you started your change off our latestmaster
.make manifests
make helm
gofmt -s -w .
go vet ./...
golangci-lint run