<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: Bp V6.6 : Web API + oAuth + Salesforce in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Bp-V6-6-Web-API-oAuth-Salesforce/m-p/81220#M32824</link>
    <description>&lt;P&gt;Thank you &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt; !!&lt;/P&gt;
&lt;P&gt;That worked I gave access rights to all users/process/resources. Now again ​i am getting Invalid grant type error:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="28391.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/28517i24811FC7C047A93C/image-size/large?v=v2&amp;amp;px=999" role="button" title="28391.png" alt="28391.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="28392.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/28521iFF49F86B3BC3868B/image-size/large?v=v2&amp;amp;px=999" role="button" title="28392.png" alt="28392.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;Could you please tell me what else i might be missing. Thank you for your patience.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Manisha P&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Nov 2021 01:19:00 GMT</pubDate>
    <dc:creator>ManishaP</dc:creator>
    <dc:date>2021-11-10T01:19:00Z</dc:date>
    <item>
      <title>Bp V6.6 : Web API + oAuth + Salesforce</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Bp-V6-6-Web-API-oAuth-Salesforce/m-p/81215#M32819</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;I am unable to retrive access token with salesforce oauth provider. I am able to do it in postman with same details. Below is my configuration:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="28431.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/28563iC79F7801BD627643/image-size/large?v=v2&amp;amp;px=999" role="button" title="28431.png" alt="28431.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="28432.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/28565iCE7108331E20C8C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="28432.png" alt="28432.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="28433.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/28561i6CB234D9159B2C4D/image-size/large?v=v2&amp;amp;px=999" role="button" title="28433.png" alt="28433.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="28434.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/28562i9D9F5050BD54EFAB/image-size/large?v=v2&amp;amp;px=999" role="button" title="28434.png" alt="28434.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="28436.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/28569i94A36299126B4A42/image-size/large?v=v2&amp;amp;px=999" role="button" title="28436.png" alt="28436.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Manisha P&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Nov 2021 15:31:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Bp-V6-6-Web-API-oAuth-Salesforce/m-p/81215#M32819</guid>
      <dc:creator>ManishaP</dc:creator>
      <dc:date>2021-11-09T15:31:00Z</dc:date>
    </item>
    <item>
      <title>RE: Bp V6.6 : Web API + oAuth + Salesforce</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Bp-V6-6-Web-API-oAuth-Salesforce/m-p/81216#M32820</link>
      <description>Hi @Manisha&amp;nbsp;P,&lt;BR /&gt;&lt;BR /&gt;Your problem is related to how you've defined the URL in your Web API. Web API's are made up of a base URL and then the path that's specific to each action. You need to define the base URL portion at the top level of the Web API similar to what's shown below:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="28356.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/28486iA56E63AFFA96309C/image-size/large?v=v2&amp;amp;px=999" role="button" title="28356.png" alt="28356.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Once you have your base URL portion defined, you can add the action path. In this case you'd have something like this:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="28357.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/28490iFF9C2BFD57B78090/image-size/large?v=v2&amp;amp;px=999" role="button" title="28357.png" alt="28357.png" /&gt;&lt;/span&gt;&lt;BR /&gt;When the request is actually invoked, Blue Prism will concatenate the base URL and the action path together.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Nov 2021 16:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Bp-V6-6-Web-API-oAuth-Salesforce/m-p/81216#M32820</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-11-09T16:49:00Z</dc:date>
    </item>
    <item>
      <title>RE: Bp V6.6 : Web API + oAuth + Salesforce</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Bp-V6-6-Web-API-oAuth-Salesforce/m-p/81217#M32821</link>
      <description>&lt;P&gt;Hi @&lt;SPAN&gt;Eric Wilson &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;Thank you very much for your immediate help and response . It worked But now I am getting a Status 400. ​​&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="28363.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/28491i453F3F02F8383334/image-size/large?v=v2&amp;amp;px=999" role="button" title="28363.png" alt="28363.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;My grant types is "password" . Can you please help me with what i am missing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Manisha P&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 18:18:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Bp-V6-6-Web-API-oAuth-Salesforce/m-p/81217#M32821</guid>
      <dc:creator>ManishaP</dc:creator>
      <dc:date>2021-11-09T18:18:00Z</dc:date>
    </item>
    <item>
      <title>RE: Bp V6.6 : Web API + oAuth + Salesforce</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Bp-V6-6-Web-API-oAuth-Salesforce/m-p/81218#M32822</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;I got the above 400 error resolved. my authentication type was wrong once I changed it to oAuth2 it resolved that error. ​now it is saying the below. I have whitelisted the serverIP in salesforce and still seeing this error.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what might be the issue ?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="28371.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/28498iAE867BFD089BD700/image-size/large?v=v2&amp;amp;px=999" role="button" title="28371.png" alt="28371.png" /&gt;&lt;/span&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Manisha P&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Nov 2021 23:31:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Bp-V6-6-Web-API-oAuth-Salesforce/m-p/81218#M32822</guid>
      <dc:creator>ManishaP</dc:creator>
      <dc:date>2021-11-09T23:31:00Z</dc:date>
    </item>
    <item>
      <title>RE: Bp V6.6 : Web API + oAuth + Salesforce</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Bp-V6-6-Web-API-oAuth-Salesforce/m-p/81219#M32823</link>
      <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="e6981825-7f37-4fd5-ba82-745184a0f540" data-tag-text="@Manisha P" href="https://community.blueprism.com/network/profile?UserKey=e6981825-7f37-4fd5-ba82-745184a0f540" data-itemmentionkey="ed9662fd-e6f0-48c3-b66f-9c8b31ed5592"&gt;@Manisha P&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;I believe this is tied to the permissions on the credential, in Credential Manager, you've associated with the WebAPI​. Take a look at the credential definition and you should see some tabs that allow you to specify which processes and resources can access that credential. Make sure you process is enabled for the credential as well as you runtime resource.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Nov 2021 23:52:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Bp-V6-6-Web-API-oAuth-Salesforce/m-p/81219#M32823</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-11-09T23:52:00Z</dc:date>
    </item>
    <item>
      <title>RE: Bp V6.6 : Web API + oAuth + Salesforce</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Bp-V6-6-Web-API-oAuth-Salesforce/m-p/81220#M32824</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt; !!&lt;/P&gt;
&lt;P&gt;That worked I gave access rights to all users/process/resources. Now again ​i am getting Invalid grant type error:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="28391.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/28517i24811FC7C047A93C/image-size/large?v=v2&amp;amp;px=999" role="button" title="28391.png" alt="28391.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="28392.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/28521iFF49F86B3BC3868B/image-size/large?v=v2&amp;amp;px=999" role="button" title="28392.png" alt="28392.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;Could you please tell me what else i might be missing. Thank you for your patience.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Manisha P&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 01:19:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Bp-V6-6-Web-API-oAuth-Salesforce/m-p/81220#M32824</guid>
      <dc:creator>ManishaP</dc:creator>
      <dc:date>2021-11-10T01:19:00Z</dc:date>
    </item>
    <item>
      <title>RE: Bp V6.6 : Web API + oAuth + Salesforce</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Bp-V6-6-Web-API-oAuth-Salesforce/m-p/81221#M32825</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="e6981825-7f37-4fd5-ba82-745184a0f540" data-tag-text="@Manisha P" href="https://community.blueprism.com/network/profile?UserKey=e6981825-7f37-4fd5-ba82-745184a0f540" data-itemmentionkey="21662f0d-dbe6-456f-96c0-3558e87260eb"&gt;@Manisha P&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;My understanding of the SFDC authentication and authorization process is that it's basically a two step process. Your first call to SFDC should include values for:&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;Grant Type&lt;/LI&gt;
&lt;LI&gt;Consumer Key&lt;/LI&gt;
&lt;LI&gt;Consumer Secret&lt;/LI&gt;
&lt;LI&gt;Username&lt;/LI&gt;
&lt;LI&gt;Password&lt;/LI&gt;
&lt;/UL&gt;
If this call is successful, you'll receive an access token and ​instance URL from SFDC. After that, you must issue another request to SFDC that includes the following input values:&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;The access token you just received&lt;/LI&gt;
&lt;LI&gt;Consumer Key&lt;/LI&gt;
&lt;LI&gt;Consumer Secret&lt;/LI&gt;
&lt;LI&gt;token_type_hint = access_token&lt;/LI&gt;
&lt;/UL&gt;
These values are sent (HTTP POST) to the URL path &lt;STRONG&gt;/services/oauth2/introspect&lt;/STRONG&gt;. The body of the request looks like this:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;token=[Access Token]&amp;amp;client_id=[Consumer Key]&amp;amp;client_secret=[Consumer Secret]&amp;amp;token_type_hint=[token_type_hint]&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Make sure to add a Content-Type header to the request with the value set to &lt;EM&gt;&lt;STRONG&gt;application/x-www-form-urlencoded&lt;/STRONG&gt;&lt;/EM&gt;. From that, you'll receive a JSON response that includes validation information such as active and exp (expiration date in Unix time).&lt;BR /&gt;&lt;BR /&gt;Make sure that all follow-up requests to SFDC use the instance URL you received as the URL of the request.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Nov 2021 15:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Bp-V6-6-Web-API-oAuth-Salesforce/m-p/81221#M32825</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-11-10T15:34:00Z</dc:date>
    </item>
    <item>
      <title>RE: Bp V6.6 : Web API + oAuth + Salesforce</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Bp-V6-6-Web-API-oAuth-Salesforce/m-p/81222#M32826</link>
      <description>Thank you &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt;. I will try that out​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Manisha P&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 11 Nov 2021 14:31:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Bp-V6-6-Web-API-oAuth-Salesforce/m-p/81222#M32826</guid>
      <dc:creator>ManishaP</dc:creator>
      <dc:date>2021-11-11T14:31:00Z</dc:date>
    </item>
  </channel>
</rss>

