Skip to main content

~~~Help me push the idea improving when Auth. Providers refresh tokens~~~

https://success.salesforce.com/ideaView?id=0873A000000CXzjQAG

 

Please help me support this idea to make Auth. Providers more useful when we establish #OAuth connections to other systems.

 

Auth. Providers will refresh the access token only if a previous callout (over a Named Credentials using that Auth. Provider) to another system returned HTTP 401. Many systems, however, return 403 instead and thus the connection breaks off as soon as the access token expires within the Auth. Provider. The behavior is in both standard Auth. Providers as well as in those based on Auth.AuthProviderPluginClass.

 

Thank you for upvotes, comments, retweets or whatever support you may share!

 

#AuthProvider #NamedCredential #Callout

 

@* Customer Architect Community * @Salesforce Identity @Architect Trailblazers 

success.salesforce.com

3 comments
  1. Feb 28, 2019, 8:59 AM
    Thank you very much @Chuck Mortimore

    !

    @Guha Arumugam as a workaround, we do the OAuth token management completely custom and avoid Auth. Provider / Named Credential for now, i.e., VF page for the authorization dance and we store tokens in a custom settings.
0/9000