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

Add OAuth client to management portal for CI e2e testing #272

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pvannierop
Copy link
Collaborator

@pvannierop pvannierop commented Oct 16, 2024

Problem

CI e2e testing with curl commands is difficult because of the different tokens that are needed to simulate the different applications.

Solution

This PR will implement a super token client. The token distributed by this client have the ability to access any other resource and has any scope (ability to do or have something) in RADAR-base.

The token can be requested from Management Potal using the client id ci_test_client and client secret secret.

Tokens distributed by this client authorize all actions in the system.
@pvannierop pvannierop self-assigned this Oct 16, 2024
Copy link

Great PR! Please pay attention to the following items before merging:

Files matching charts/*/values.yaml:

  • Is the PR adding a new container? Please reviewer, add it to the models (internal process)
  • Is the PR adding a new parameter? Please, ensure it’s documented in the README.md

This is an automatically generated QA checklist based on modified files.

@pvannierop pvannierop changed the title Add CI oauth client to management portal Add OAuth client to management portal for CI e2e testing Oct 16, 2024
@keyvaann
Copy link
Collaborator

Which CI job is going to run the tests?
I think it's better that this client added to the MP during the CI testing, rather than permanently in the chart.

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.

2 participants