Can Connect REST re-request automatically when token expired?
【program】
activity:
1.set required info
2.Connect-REST:
・Use authentication profile with OAuth2.0
・Use refresh token if available (checkbox :true)(the target service provided refresh token)
【phenomenon】
・the first request: got 401 Unauthorized caused by token expired , message as follows:
Access token endpoint invocation failed : {ErrorMessage=Response status : 401 Unauthorized, statuscode=401, refresh_token=0666010fXXXXXXXXX}
・the second request by executing the activity again: the request worked ok and got status 200.
【question】
What configuration can make Connect REST re-request automatically (in Connect REST rule) when token expired without the second request ?(In addition to calling connect-rest multiple times in the activity)
Thanks a lot.