<?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 Issue with connecting to a REST service with Bearer Token authorization. in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Issue-with-connecting-to-a-REST-service-with-Bearer-Token/m-p/67691#M20296</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi! I've never done something like this before, so I ask for your understanding right away &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I'm trying to connect to a service where I have to generate a new token each time.&lt;/SPAN&gt;&lt;SPAN&gt;I have an example connection configured in the POSTMAN application, but I don't know how to set up a connection in Blue Prism based on that Example below.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31060.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31187iF39DAE1DC82515C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="31060.png" alt="31060.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31061.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31189i0E9E4D1AE32CFA1F/image-size/large?v=v2&amp;amp;px=999" role="button" title="31061.png" alt="31061.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31062.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31190iC90C645ED1376817/image-size/large?v=v2&amp;amp;px=999" role="button" title="31062.png" alt="31062.png" /&gt;&lt;/span&gt;First, I wanted to test the connection with the service itself without generating a token. I generated the token in Postman and copied it into the credentials in Blue Prism. Below is my configuration in Blue Prism, which is not working.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31063.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31196i7BE5849B60461DCF/image-size/large?v=v2&amp;amp;px=999" role="button" title="31063.png" alt="31063.png" /&gt;&lt;/span&gt;I understand that there might be simple errors, but I've already tried many configurations, and this is the latest one. I would appreciate any guidance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jan 2024 09:04:00 GMT</pubDate>
    <dc:creator>GregoireBurner</dc:creator>
    <dc:date>2024-01-23T09:04:00Z</dc:date>
    <item>
      <title>Issue with connecting to a REST service with Bearer Token authorization.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Issue-with-connecting-to-a-REST-service-with-Bearer-Token/m-p/67691#M20296</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi! I've never done something like this before, so I ask for your understanding right away &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I'm trying to connect to a service where I have to generate a new token each time.&lt;/SPAN&gt;&lt;SPAN&gt;I have an example connection configured in the POSTMAN application, but I don't know how to set up a connection in Blue Prism based on that Example below.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31060.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31187iF39DAE1DC82515C7/image-size/large?v=v2&amp;amp;px=999" role="button" title="31060.png" alt="31060.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31061.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31189i0E9E4D1AE32CFA1F/image-size/large?v=v2&amp;amp;px=999" role="button" title="31061.png" alt="31061.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31062.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31190iC90C645ED1376817/image-size/large?v=v2&amp;amp;px=999" role="button" title="31062.png" alt="31062.png" /&gt;&lt;/span&gt;First, I wanted to test the connection with the service itself without generating a token. I generated the token in Postman and copied it into the credentials in Blue Prism. Below is my configuration in Blue Prism, which is not working.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="31063.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/31196i7BE5849B60461DCF/image-size/large?v=v2&amp;amp;px=999" role="button" title="31063.png" alt="31063.png" /&gt;&lt;/span&gt;I understand that there might be simple errors, but I've already tried many configurations, and this is the latest one. I would appreciate any guidance &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 09:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Issue-with-connecting-to-a-REST-service-with-Bearer-Token/m-p/67691#M20296</guid>
      <dc:creator>GregoireBurner</dc:creator>
      <dc:date>2024-01-23T09:04:00Z</dc:date>
    </item>
    <item>
      <title>RE: Issue with connecting to a REST service with Bearer Token authorization.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Issue-with-connecting-to-a-REST-service-with-Bearer-Token/m-p/67692#M20297</link>
      <description>&lt;P&gt;Hello &lt;A class="user-content-mention" data-sign="@" data-contactkey="f16464df-7c2e-4afd-b732-018d3b1527f1" data-tag-text="@Gregoire Burner" href="https://community.blueprism.com/network/profile?UserKey=f16464df-7c2e-4afd-b732-018d3b1527f1" data-itemmentionkey="1c894ce3-f098-4db9-a78d-259378ea6fd2"&gt;@Gregoire Burner&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;First thing you'll want to do is create a new credential definition in Credential Manager. You can select a credential type of &lt;STRONG&gt;OAuth 2.0 (Client Credentials)&lt;/STRONG&gt;. You'll add your Client ID and Client Secret to that credential. You'll also need to set the Access Rights for the credential such that your Web API Service definition will be able to access it.&lt;/P&gt;
&lt;P&gt;Once you have that, go back to your Web API Service definition and click on &lt;STRONG&gt;Common Authentication&lt;/STRONG&gt;. In the &lt;STRONG&gt;Authentication Type&lt;/STRONG&gt; dropdown, select &lt;STRONG&gt;OAuth 2.0 (Client Credentials)&lt;/STRONG&gt;. Enter your &lt;STRONG&gt;Authorization URI&lt;/STRONG&gt;&amp;nbsp;and select the credential you defined in Credential Manager from the &lt;STRONG&gt;Credential&lt;/STRONG&gt; dropdown. If you need to add a Scope, you can do so at the bottom.&lt;/P&gt;
&lt;P&gt;Now you should be set up for BP to handle the authorization request and token management automatically for you.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&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, 23 Jan 2024 20:02:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Issue-with-connecting-to-a-REST-service-with-Bearer-Token/m-p/67692#M20297</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2024-01-23T20:02:00Z</dc:date>
    </item>
    <item>
      <title>RE: Issue with connecting to a REST service with Bearer Token authorization.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Issue-with-connecting-to-a-REST-service-with-Bearer-Token/m-p/67693#M20298</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Great!! It works! Thank you very much for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Gregoire Burner&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Jan 2024 10:40:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Issue-with-connecting-to-a-REST-service-with-Bearer-Token/m-p/67693#M20298</guid>
      <dc:creator>GregoireBurner</dc:creator>
      <dc:date>2024-01-24T10:40:00Z</dc:date>
    </item>
  </channel>
</rss>

