[
https://issues.apache.org/jira/browse/CAMEL-27575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Federico Mariani updated CAMEL-27575:
-------------------------------------
Fix Version/s: 4.25.0
(was: 4.24.0)
> 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.25.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)