Hi
The http_client module support the somehow old fashioned way to submit credentials as part of the URL.
Our 'held' server developer would love to use either JWT or a Bearer Token in the Auth-Header or a 'cookie-jar' to authenticate the requests.
Is this somehow possible?
Hello,
did you already check the functionality which the jwt module provides? https://www.kamailio.org/docs/modules/5.5.x/modules/jwt.html
Cheers,
Henning
Hello,
On 26.05.23 11:57, Benoît Panizzon wrote:
Hi
The http_client module support the somehow old fashioned way to submit credentials as part of the URL.
Our 'held' server developer would love to use either JWT or a Bearer Token in the Auth-Header or a 'cookie-jar' to authenticate the requests.
Is this somehow possible?
http_client_query() has a parameter to set additional headers, which accepts variables. Therefore you can set there your own Auth-Header.
Cheers, Daniel