Skip to content

Test Container for KeyCloak #4191

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

Open
lorriborri opened this issue May 23, 2025 · 0 comments · May be fixed by #4192
Open

Test Container for KeyCloak #4191

lorriborri opened this issue May 23, 2025 · 0 comments · May be fixed by #4192
Labels

Comments

@lorriborri
Copy link
Member

Situation

When we configure oauth for the sechub server, we need to set up a IDP server manually (run keycloak docker image manually and configure)

Wanted

A out-of-the box solution which can be used for integration test

Solution

  • set up a docker and Dockerfile for keycloack
  • add define and add custom realm to the start up
  • implement a class (like LocalTestPostgreSQLStarter) to start and stop the container

we do not use https://github.com/dasniko/testcontainers-keycloak, to make the docker solution reusable in helm charts for a local setup.

lorriborri added a commit that referenced this issue May 23, 2025
@lorriborri lorriborri linked a pull request May 23, 2025 that will close this issue
lorriborri added a commit that referenced this issue May 26, 2025
lorriborri added a commit that referenced this issue May 26, 2025
lorriborri added a commit that referenced this issue May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant