cancel
Showing results for 
Search instead for 
Did you mean: 

Reusing OAuth Token Caching Between REST Sender

11-18-2025 1:29 PM
dslv Explorer
242 views 0 comments
0 Likes
SAP Managed Tags
Labels
GenAI Assisted Content
Subscribe

I'm working on a development where I use a REST sender channel to do a GET on a certain endpoint with an OAuth token generated by the channel. The problem is that, in the same execution, I have a UDF that also calls a process on that endpoint, and it needs to use the same token.

My question is: is it possible to use the token generated by the channel inside the UDF? I'm not sure if there's some limitation on the Java side for UDFs. Right now, to work around it, I'm generating the token again inside the UDF, which isn’t a good practice since I already have a token available.

Is there any method I can call in the code to get that token that’s already in the cache for this execution?

0 Likes

Accepted Solutions (0)

Answers (0)