gabriel-farache commented on code in PR #3928:
URL:
https://github.com/apache/incubator-kie-kogito-runtimes/pull/3928#discussion_r2219962483
##########
quarkus/extensions/kogito-quarkus-serverless-workflow-extension/kogito-quarkus-serverless-workflow-integration-test/src/main/resources/application.properties:
##########
@@ -223,6 +223,51 @@ quarkus.oidc-client.service5_oauth2.grant.type=client
quarkus.oidc-client.service5_oauth2.credentials.client-secret.method=basic
quarkus.oidc-client.service5_oauth2.credentials.client-secret.value=secret
+# -------
+# Token propagation support test properties, relates to the TokenExchangeIT
and the token-exchange.sw.json
+# -------
+# 1) Configure the desired packages for the code generation, this information
is basically source
+quarkus.openapi-generator.codegen.spec.token_exchange_external_service_yaml.base-package=org.acme.externalexchangeservice
+
+# 2) Configure the access url for the service.
+quarkus.rest-client.token_exchange_external_service_yaml.url=${exchange-external-service-mock.url}
+sonataflow.security.with_exchange_oauth2.exchange-token=true
+sonataflow.security.with_exchange_and_propagation_oauth2.exchange-token=true
Review Comment:
yes, the propagation has the higher priority, the other options are only
considered if it is not enabled, this behaviour is defined/designed by the
openapi-generator lib
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]