You need to sign in to do that
Don't have an account?
remote authentication with 3rd party application via rest and oauth2
The current salesforce for zendesk integration does not allow for custom querying or flitered results that I am aware of.
Because of this I am attempting to create a custom remote access app to pull filtered results via SOQL query into a zendesk app to display in zendesk. I have connected to salesforce api using the OAUTH2.0 documentation. I am able to log in and retreive the filtered data fine using a browser with PHP. My problem is I do not want to have to log in to salesforce to authenticate. I have set my connected app to require login 'The first time they use this application' by including the 'refresh-token' option.
What I need to figure out is how to authenticate programatically, or through the zendesk app. I am curious how this is currently done with the existing salesforce for zendesk app?
I am aware of the posibility of the OAuth 2.0 username-password flow, yet am woried about the security with this method. Is this how the current integration does it or is there a safer method that I am missing?
Currently zendesk uses Remote Site to conenct with Salesforce as shown in the following link:
https://support.zendesk.com/entries/22077208-Salesforce-step-1-Installing-the-Zendesk-for-Salesforce-app-in-Salesforce
https://support.zendesk.com/entries/22066576
You are redirected to Salesforce and you need to give the SF username and password and authorize Zendesk to access SF data. - seems like they do use OAuth
Hi,
As we see that Zendesk uses OAuth - it uses the OAuth Refresh token to maintain user session.
Read more in the following doc to get a better understanding:
https://help.salesforce.com/apex/HTViewHelpDoc?id=remoteaccess_oauth_refresh_token_flow.htm&language=en