[ 
https://issues.apache.org/jira/browse/CAMEL-27575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-27575.
---------------------------------
    Resolution: Fixed

Fixed by https://github.com/apache/camel/pull/30870 (merged to main for 4.24.0).

_Claude Code on behalf of davsclaus_

> camel-ibm-watsonx-data - the oauthProfile token is sent to IBM Cloud IAM as 
> an API key and never renewed
> --------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-27575
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27575
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-ai
>            Reporter: Federico Mariani
>            Assignee: Federico Mariani
>            Priority: Major
>             Fix For: 4.24.0
>
>
> The endpoint resolves the token of {{oauthProfile}} once at startup and 
> stores it as {{apiKey}}, so the IBM Cloud SDK {{IamAuthenticator}} posts it 
> to IAM as an API key, which IAM rejects, and the token is never renewed. Same 
> defect as in camel-ibm-watsonx-ai; see CAMEL-27125 for the other AI 
> components.
> Send the token as a Bearer token, asking camel-oauth for it on every request 
> (camel-oauth caches it until it expires), and fail at startup when the 
> profile gives no token.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to