<?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: Generate JWT using Google Service Account in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Generate-JWT-using-Google-Service-Account/m-p/89043#M39496</link>
    <description>Yes, Blue Prism can deal with JWT. The question is, how are you trying to integrate with the Google micro service you mentioned? Are you working with a REST API or are you trying to do this via UI automation? If you're working with a RESTful API, are you using the Blue Prism Web API service feature (&lt;STRONG&gt;System -&amp;gt; Objects -&amp;gt; Web API Services&lt;/STRONG&gt;) or are you using some other VBO?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 29 Mar 2021 13:29:00 GMT</pubDate>
    <dc:creator>ewilson</dc:creator>
    <dc:date>2021-03-29T13:29:00Z</dc:date>
    <item>
      <title>Generate JWT using Google Service Account</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Generate-JWT-using-Google-Service-Account/m-p/89040#M39493</link>
      <description>I have to use an API which is Google hosted micro-service.&lt;BR /&gt;For authentication, I have to generate a token(JWT) from Google Service Account. &lt;BR /&gt;I have Private key Id, Private Key, client email, client id, auth_uri, Token_uri.&lt;BR /&gt;Could you please help me how to get token with this details.&lt;BR /&gt;Im using version 6.5.1</description>
      <pubDate>Fri, 26 Mar 2021 11:37:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Generate-JWT-using-Google-Service-Account/m-p/89040#M39493</guid>
      <dc:creator>Sheela</dc:creator>
      <dc:date>2021-03-26T11:37:00Z</dc:date>
    </item>
    <item>
      <title>RE: Generate JWT using Google Service Account</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Generate-JWT-using-Google-Service-Account/m-p/89041#M39494</link>
      <description>Are you using the Blue Prism Web API service feature to interact with this API? If so, have you tried creating a&amp;nbsp;&lt;STRONG&gt;OAuth2 - JWT&lt;/STRONG&gt; credential in Credential Manager with your details and associating that credential with your Web API?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Mar 2021 13:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Generate-JWT-using-Google-Service-Account/m-p/89041#M39494</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-03-26T13:14:00Z</dc:date>
    </item>
    <item>
      <title>RE: Generate JWT using Google Service Account</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Generate-JWT-using-Google-Service-Account/m-p/89042#M39495</link>
      <description>Hi Eric,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;We need to generate a jwt token from this &lt;A href="https://jwt.io/" target="test_blank"&gt;https://jwt.io/&lt;/A&gt;.&lt;BR /&gt;Do we have provision to get such token in Blue Prism.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sheela&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sheela Parthasarathy&lt;BR /&gt;Assistant Consultant&lt;BR /&gt;TCS&lt;BR /&gt;Pacific/Apia&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Mar 2021 10:11:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Generate-JWT-using-Google-Service-Account/m-p/89042#M39495</guid>
      <dc:creator>Sheela</dc:creator>
      <dc:date>2021-03-29T10:11:00Z</dc:date>
    </item>
    <item>
      <title>RE: Generate JWT using Google Service Account</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Generate-JWT-using-Google-Service-Account/m-p/89043#M39496</link>
      <description>Yes, Blue Prism can deal with JWT. The question is, how are you trying to integrate with the Google micro service you mentioned? Are you working with a REST API or are you trying to do this via UI automation? If you're working with a RESTful API, are you using the Blue Prism Web API service feature (&lt;STRONG&gt;System -&amp;gt; Objects -&amp;gt; Web API Services&lt;/STRONG&gt;) or are you using some other VBO?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Mar 2021 13:29:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Generate-JWT-using-Google-Service-Account/m-p/89043#M39496</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-03-29T13:29:00Z</dc:date>
    </item>
    <item>
      <title>RE: Generate JWT using Google Service Account</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Generate-JWT-using-Google-Service-Account/m-p/89044#M39497</link>
      <description>Hi Eric,&lt;BR /&gt;It is REST API and I'm planning to do via Web API Services. But I was not sure how to generate token with details(like kid, sub, aud, exp) and how to pass the generated token in the api call.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sheela&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sheela Parthasarathy&lt;BR /&gt;Assistant Consultant&lt;BR /&gt;TCS&lt;BR /&gt;Pacific/Apia&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Mar 2021 17:06:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Generate-JWT-using-Google-Service-Account/m-p/89044#M39497</guid>
      <dc:creator>Sheela</dc:creator>
      <dc:date>2021-03-29T17:06:00Z</dc:date>
    </item>
    <item>
      <title>RE: Generate JWT using Google Service Account</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Generate-JWT-using-Google-Service-Account/m-p/89045#M39498</link>
      <description>Ok, if you're going to use the Web API services feature then what you want to do first is create a new entry in &lt;STRONG&gt;&lt;EM&gt;System -&amp;gt; Security -&amp;gt; Credentials&lt;/EM&gt;.&lt;/STRONG&gt; Define the credential as type &lt;STRONG&gt;OAuth 2.0 (JWT Bearer Token)&lt;/STRONG&gt;, fill in the &lt;STRONG&gt;Issuer&lt;/STRONG&gt; and &lt;STRONG&gt;Private Key&lt;/STRONG&gt; information. Also make sure to set the &lt;STRONG&gt;Access Rights&lt;/STRONG&gt; so your Web API service definition will be able to use the credential.&lt;BR /&gt;&lt;BR /&gt;Once you've done this, go to your Web API Service definition and on the &lt;STRONG&gt;Common Authentication&lt;/STRONG&gt; page select &lt;STRONG&gt;OAuth 2.0 (JWT Bearer Token)&lt;/STRONG&gt; from the Authentication Type dropdown. Fill in &lt;STRONG&gt;Authorization URI&lt;/STRONG&gt;. If you happen to have values for &lt;STRONG&gt;Audience&lt;/STRONG&gt;, &lt;STRONG&gt;Scope&lt;/STRONG&gt;, and/or &lt;STRONG&gt;Subject&lt;/STRONG&gt;, fill those in too. In the &lt;STRONG&gt;Credential&lt;/STRONG&gt; dropdown, select the name of the credential you created in Credential Manager. That should be it. BP will take care of the details of issuing the auth request whenever you call any action on your Web API service definition.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Mar 2021 17:58:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Generate-JWT-using-Google-Service-Account/m-p/89045#M39498</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-03-29T17:58:00Z</dc:date>
    </item>
    <item>
      <title>RE: Generate JWT using Google Service Account</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Generate-JWT-using-Google-Service-Account/m-p/89046#M39499</link>
      <description>Hi Eric,&lt;BR /&gt;&lt;BR /&gt;Thanks for your response.&lt;BR /&gt;My authentication is bit different. We are not provided/suppose to use Auth URI.&lt;BR /&gt;Can you please refer the section '&lt;SPAN style="font-size: 10pt; font-weight: 600; letter-spacing: 0px;"&gt;Making an authenticated request to an Endpoints API'&lt;/SPAN&gt;&lt;BR /&gt;in below link, where it generates the token with private key, service account, audience&amp;amp; expiry And passes the token in Header as Authorization: Bearer ${TOKEN}&lt;BR /&gt;&lt;BR /&gt;https://cloud.google.com/endpoints/docs/openapi/service-account-authentication#:~:text=see%20OpenAPI%20extensions.-,Making%20an%20authenticated%20request%20to%20an%20Endpoints%20API,the%20service%20account's%20private%20key.&lt;BR /&gt;&lt;BR /&gt;For testing purpose, API team provided me a jar file to generate token in my windows desktop.&amp;nbsp;&lt;BR /&gt;I generated it manually and copied in WebAPi header as in screenshot attached.&lt;BR /&gt;Could you please let me know if it is possible to generate token and pass it as header as above.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sheela Parthasarathy&lt;BR /&gt;Assistant Consultant&lt;BR /&gt;TCS&lt;BR /&gt;Pacific/Apia&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Mar 2021 14:58:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Generate-JWT-using-Google-Service-Account/m-p/89046#M39499</guid>
      <dc:creator>Sheela</dc:creator>
      <dc:date>2021-03-30T14:58:00Z</dc:date>
    </item>
    <item>
      <title>RE: Generate JWT using Google Service Account</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Generate-JWT-using-Google-Service-Account/m-p/89047#M39500</link>
      <description>If you can't use the onboard credential manager and Common Authentication features of Blue Prism, you'll have to use a separate library to generate your JWT's and pass those into your Web API service as an input item. This is basically the same idea as calling the JAR your API team gave you.&lt;BR /&gt;&lt;BR /&gt;To do this you'll have to a VBO with a Code stage that implements the necessary logic. What that looks like will depend on which .NET library you choose to use. There are several listed on the jwt.io site.&lt;BR /&gt;&lt;BR /&gt;Once you have that VBO in place, you'll call it first to generate the JWT and then pass it into the Web API. You could even make the VBO the sole interface and just have it wrap the Web API service interaction, so all you would have to interact with in your process in the VBO.&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, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Mar 2021 15:59:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Generate-JWT-using-Google-Service-Account/m-p/89047#M39500</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-03-30T15:59:00Z</dc:date>
    </item>
  </channel>
</rss>

