<?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: Dealing with HTTP auth information in a request body instead of header in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/dealing-with-http-auth-information-in-a-request-body-instead-of/m-p/7197#M3110</link>
    <description>&lt;P&gt;I've run into this before, and the most secure solution I've found is to store the password as an environment property with "key" or "password" in the property name (this will obscure it), and then use that property in the HTTP action body. Finally, you can right click &amp;gt; mask the HTTP action which will obscure the input/output logs and the password won't be visible in the job history.&lt;/P&gt;&lt;P&gt;The downside of this approach is that troubleshooting the HTTP action is impossible unless you unmask it, but if it's only for authentication it hopefully won't require any adjustments once it's up and running.&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jul 2024 17:01:18 GMT</pubDate>
    <dc:creator>gary1</dc:creator>
    <dc:date>2024-07-31T17:01:18Z</dc:date>
    <item>
      <title>Dealing with HTTP auth information in a request body instead of header</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/dealing-with-http-auth-information-in-a-request-body-instead-of/m-p/7194#M3107</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I have to use a cloud platform API in Workato. To get the temporary token of the API I need to provide the username and password in a POST request body in XML format.&lt;/P&gt;&lt;P&gt;The problem is that in the HTTP Connection it is not possible to use the&lt;SPAN&gt;&amp;nbsp;authentication information (username and password) in a request body. There is an option for Header Auth but not for Body Auth.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How to deal with such connection? The only possible way was to create a connection without auth and then place a Post request with the username and password in the body request of HTTP action to get the token. However It is not recommended to leave such information in plain sight of a recipe.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Did any one face something similar? or could this be a feature request to add the option of body auth variables in HTTP Connection?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 12:04:47 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/dealing-with-http-auth-information-in-a-request-body-instead-of/m-p/7194#M3107</guid>
      <dc:creator>saed</dc:creator>
      <dc:date>2024-07-31T12:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with HTTP auth information in a request body instead of header</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/dealing-with-http-auth-information-in-a-request-body-instead-of/m-p/7197#M3110</link>
      <description>&lt;P&gt;I've run into this before, and the most secure solution I've found is to store the password as an environment property with "key" or "password" in the property name (this will obscure it), and then use that property in the HTTP action body. Finally, you can right click &amp;gt; mask the HTTP action which will obscure the input/output logs and the password won't be visible in the job history.&lt;/P&gt;&lt;P&gt;The downside of this approach is that troubleshooting the HTTP action is impossible unless you unmask it, but if it's only for authentication it hopefully won't require any adjustments once it's up and running.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 17:01:18 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/dealing-with-http-auth-information-in-a-request-body-instead-of/m-p/7197#M3110</guid>
      <dc:creator>gary1</dc:creator>
      <dc:date>2024-07-31T17:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with HTTP auth information in a request body instead of header</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/dealing-with-http-auth-information-in-a-request-body-instead-of/m-p/7206#M3116</link>
      <description>&lt;P&gt;One other option I'll toss out that a Workato resource recommended to us involves creating the recipe function to do this authentication in a separate project that is secured.&amp;nbsp; For example, if you have an "HR" project, then this might be named "HR-Secured" and your security roles restrict access to this project to only the necessary individuals.&amp;nbsp; You can still mask the HTTP step if you want, or you can rely on the security roles.&amp;nbsp; Either way, it does allow a more granular way to secure access to this private key since environment properties, to my recollection, can't secure individual entries.&amp;nbsp; Of course, naming it as&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/1188"&gt;@gary1&lt;/a&gt;&amp;nbsp;suggests means it'll be masked, but still someone could accidentally (or not) mess with it.&lt;/P&gt;&lt;P&gt;Just another log to the fire.&amp;nbsp; Enjoy!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 04:29:11 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/dealing-with-http-auth-information-in-a-request-body-instead-of/m-p/7206#M3116</guid>
      <dc:creator>mppowe</dc:creator>
      <dc:date>2024-08-02T04:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dealing with HTTP auth information in a request body instead of header</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/dealing-with-http-auth-information-in-a-request-body-instead-of/m-p/7208#M3118</link>
      <description>&lt;P&gt;Thank you for the idea! I believe this could be more secure than using the environment &lt;SPAN&gt;property.&lt;BR /&gt;I had another idea I want to test. It is to make the request outside Workato then use Workato API to write the temporary token in the environment or project property. This need to be done every couple hours&amp;nbsp; but it will be more secure.&lt;BR /&gt;Will try the ideas and go with what works better until Workato implement body Auth in HTTP Connections.&lt;BR /&gt;Thank you both for the help&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/1188"&gt;@gary1&lt;/a&gt;&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/3769"&gt;@mppowe&lt;/a&gt;&amp;nbsp;!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 08:06:04 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/dealing-with-http-auth-information-in-a-request-body-instead-of/m-p/7208#M3118</guid>
      <dc:creator>saed</dc:creator>
      <dc:date>2024-08-02T08:06:04Z</dc:date>
    </item>
  </channel>
</rss>

