Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Who agreed with this solution

avatar
Contributor

I used a global variable (DistributedMapCacheClientService & DistributedMapCacheServer) and a separate process group to run each 2 min to get a token then store that token in my global variable and use it in the header of my OnBoard API and each time i get a 403 error I loopback my flow file to request new token to use

UpdateAttribute before the InvokeHTTP is used to get the exact token text from the full response from the oauth API 

FediMannoubi_0-1684766530532.png

InvokeHTTP
 

FediMannoubi_1-1684766563296.png

Get Auth Token (Cycle)
 

FediMannoubi_2-1684766581349.png

 

View solution in original post

Who agreed with this solution