You need to sign in to do that
Don't have an account?
Miles Nash
Salesforce OAuth 2.0 Auth. Provider not getting new access token
Hi all,
I have the following Auth Provider:
I have successfully authenticated with the provider using a named credential:
When I use this named credential in Apex callouts, I worked fine until the access token expires. At this point, I get 401s repeatedly until I edit and save the named credential again (I have "Start Authentication Flow on Save" ticked).
This is a dealbreaker for the feature I am developing in terms of production use. Please can anyone advise what I can do?
Many thanks,
Miles
I have the following Auth Provider:
I have successfully authenticated with the provider using a named credential:
When I use this named credential in Apex callouts, I worked fine until the access token expires. At this point, I get 401s repeatedly until I edit and save the named credential again (I have "Start Authentication Flow on Save" ticked).
This is a dealbreaker for the feature I am developing in terms of production use. Please can anyone advise what I can do?
Many thanks,
Miles
Is that your user credentials changed??
If Yes then you have to authenticate once again with new credentials.
No the credentials haven't changed.