Contract testing with Quarkus on OIDC protected endpoints #1379
Unanswered
patoulatchi
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Hi @patoulatchi, This is not possible now as the testing OAuth 2 properties (see https://microcks.io/documentation/references/test-endpoints/#oauth2) cannot be set on our Testcontainers Java module, yet. This is a nice improvement though and would deserve creating an issue on the https://github.com/microcks/microcks-testcontainers-java or https://github.com/microcks/microcks-quarkus repos (the second one is actually based on the first and so the feature has to be made available in the testcontainers module first). Feel free to create this one! |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I'm working on a quarkus based microservice and wanted to setup contract testing using microcks. I followed this example and all work well and nicely integrated: https://github.com/microcks/microcks-quarkus-demo/tree/main
Now I would like to enable the authentication of my rest resources using oidc (with keycloak) and I'm struggling to understand how to setup Microcks to connect to the keycloak instance which is automatically started by the devservices of Quarkus. Is there an example out there which present a more realistic scenario with security in place of such a setup?
Thanks a lot for any hints or pointers.
Best regards
Nicolas
Beta Was this translation helpful? Give feedback.
All reactions