oauth 2.0 - Mule SFDC connector: redirect_uri_mismatch&error_description=redirect_uri must match configuration -
i connecting sfdc mule connector oauth, trying authorize getting following error message.
<flow name="sfdcflow1" doc:name="sfdcflow1"> <http:inbound-endpoint exchange-pattern="request-response" host="${hostname}" port="${port}" path="sfdc" doc:name="http"/> <sfdc:authorize config-ref="salesforce__oauth_v2_0" display="popup" accesstokenurl="https://na1.salesforce.com/services/oauth2/token" authorizationurl="https://na1.salesforce.com/services/oauth2/authorize" doc:name="salesforce"/> </flow>
getting following error message in browser:
error:redirect_uri_mismatch&error_description=redirect_uri must match configuration
what redirect or callback url? need have flow , http requests? made didnot work:
<http:inbound-endpoint exchange-pattern="request-response" host="${hostname}" port="${port}" path="callback" doc:name="http"/> <logger message="===callback====" level="info" doc:name="logger"/> </flow>
edit: have url sfdc as: https://cs17.salesforce.com/. url used redirect?
mules ref docs says use
oauthcallback path. using anypoint studio sfdc connector 6.0.1. after using same error message receive it.
<sfdc:oauth-callback-config domain="localhost" localport="8081" path="oauthcallback"/>
callback url salesforce redirect after successful authentication. have not used salesforce have done other cloud connector , can refer of slide share details. please try links , let me know if u still have issue.
http://www.slideshare.net/rupeshkrsinha/integration-with-dropbox-using-mule-esb
http://www.slideshare.net/rupeshkrsinha/integrating-with-linkedin-using-mule-esb-linkedin-connector
Comments
Post a Comment