gabriel-farache commented on issue #1968:
URL:
https://github.com/apache/incubator-kie-issues/issues/1968#issuecomment-2938985282
To trace the tests I did:
When sending the following CloudEvent:
```
{"specversion":"1.0","id":"db16ff44-5b0b-4abc-88f3-5a71378be171","source":"http://dev.local/","type":"lock-event","datacontenttype":"application/json","time":"2025-03-07T15:04:32.327635-05:00","lockid":"03471a81-310a-47f5-8db3-cceebc63961a","xauthorizationsimple":
"TEST_TOKEN", "data":{"name":"The
Kraken","id":"03471a81-310a-47f5-8db3-cceebc63961a"}}
```
with
```
quarkus.openapi-generator.simple_server_yaml.auth.SimpleBearerToken.token-propagation=true
quarkus.openapi-generator.simple_server_yaml.auth.SimpleBearerToken.header-name=xauthorizationsimple
```
and spec
```
paths:
/simple:
get:
summary: Send requests to simple server with simple JWT security scheme
description: Send requests to simple server to check the auth header
operationId: getWithSimpleBearerTokenSecurityScheme
responses:
"200":
description: Successful operation
security:
- SimpleBearerToken: []
components:
securitySchemes:
SimpleBearerToken:
type: http
scheme: bearer
```
I got `2025-06-03 20:47:43,537 host-004 DEBUG [org.apache.http.wire:73]
(kogito-event-executor-1) http-outgoing-0 >> "Authorization: Bearer
null[\r][\n]"` so it appears the header is not extracted and set in the context
--
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]