We have a requirement as below. Request your suggestions on the overall approach.
The Robot process need to call a web service exposed by a middleware system. The response is asynchronous. We are hence planning to get the response by putting the response to orchestrator queue using API by the middleware. Now the middleware has to make 2 calls for each response,
- Authorization API
- Put to Queue API using the bearer token
Is it a good idea to make the bearer token be non-expiring and make this token permanently to be used? Can this be made specific to an orchestrator user? Any other suggestions on the over all approach to this?