function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ABAB 

AWS API gateway authentication

I was able to connect AWS API Gateway using named credentails from my SFDC instance and invoke and API sucessfully. Grant type is client_credentials and AWS informed me that they have token expiry for 1 hr and  need to refresh it using refresh token and which need to handle from Salesforce. I am not sure how it works this with Named Credentails. Appreciated your help.
VinayVinay (Salesforce Developers) 
Hi Anoop,

This should work with Named Credentails,  do you see any error?

Thanks,
Anoop Bhaskaran 5Anoop Bhaskaran 5
No error, I was trying to identify the process of regenrating the token. 
VInay, you mean Named Credentail will take care to reauthorization once its expired ?

Anoop