Skip to content
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

Dinosaur conftest refactor to support AuthPolicy v2 #313

Merged
merged 2 commits into from
Jan 3, 2024

Conversation

azgabur
Copy link
Contributor

@azgabur azgabur commented Dec 22, 2023

Resulting AuthConfig is almost identical to currently used dinosaur_config.yaml with few exceptions:

  • New AuthConfig contains credentials.authorizationHeader.prefix: Bearer in both oidc identity providers objects which is automatically added by testsuite while old AuthConfig has empty credentials object.
  • In new AuthConfig metadata.http.<name>.contentType has value application/x-www-form-urlencoded and in headers it specifies the contentType application/json while old AuthConfig has contentType value set to application/json
  • I removed debugging responses headers denoted as "TMP" in old dinosaur_config.yaml

This PR implements ttl functionality in add oidc identity function. Testing case for this new feature will be done #314

@azgabur azgabur force-pushed the dinosaur_refactor branch from c7fbc23 to afcc508 Compare January 2, 2024 12:14
@azgabur azgabur force-pushed the dinosaur_refactor branch from afcc508 to 4c4b494 Compare January 2, 2024 14:19
@pehala pehala merged commit 1c7fd72 into Kuadrant:main Jan 3, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants