<?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: { &amp;quot;code&amp;quot;: 40103, &amp;quot;message&amp;quot;: &amp;quot;Invalid signature in request credentials&amp;quot;, &amp;quot;stat&amp;quot;: &amp;quot;FAIL&amp;quot; } in APIs</title>
    <link>https://community.cisco.com/t5/apis/quot-code-quot-40103-quot-message-quot-quot-invalid-signature-in/m-p/4875892#M14</link>
    <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Also, are you url encoding the params in the request? There is a &lt;A href="https://www.postman.com/6074515/workspace/dan-nash-s-public-workspace/collection/6074515-9a83d205-c307-4bd1-9bf7-2fe9d08d0b51?ctx=documentation"&gt;third-party Postman public workspace&lt;/A&gt; that some people are using that doesn’t &lt;A href="https://duo.com/docs/adminapi#request-format"&gt;encode the key-value pairs&lt;/A&gt;.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 03 Dec 2021 17:37:53 GMT</pubDate>
    <dc:creator>DuoKristina</dc:creator>
    <dc:date>2021-12-03T17:37:53Z</dc:date>
    <item>
      <title>{ "code": 40103, "message": "Invalid signature in request credentials", "stat": "FAIL" }</title>
      <link>https://community.cisco.com/t5/apis/quot-code-quot-40103-quot-message-quot-quot-invalid-signature-in/m-p/4875890#M12</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;I can do GET command successful via postman, in below resultset . but when try POST with everything same and adding parameters to body as username  with x-www-form-urlencoded type. It shows below error.&lt;BR /&gt;
{&lt;BR /&gt;
“code”: 40103,&lt;BR /&gt;
“message”: “Invalid signature in request credentials”,&lt;BR /&gt;
“stat”: “FAIL”&lt;BR /&gt;
}&lt;/P&gt;
&lt;P&gt;what can cause it in Postman for POST request&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2X_9_995186ada8f7c5fd0bfd6333bd378e5f8903c905.png" style="width: 690px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/190572iDD9505A26050439C/image-size/large?v=v2&amp;amp;px=999" role="button" title="2X_9_995186ada8f7c5fd0bfd6333bd378e5f8903c905.png" alt="2X_9_995186ada8f7c5fd0bfd6333bd378e5f8903c905.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV class="lightbox-wrapper"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2X_1_19aef0bc38446be491345e0153d41fe671063486.png" style="width: 690px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/190910iC6F75FFD9E0022FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="2X_1_19aef0bc38446be491345e0153d41fe671063486.png" alt="2X_1_19aef0bc38446be491345e0153d41fe671063486.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Dec 2021 12:24:55 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/quot-code-quot-40103-quot-message-quot-quot-invalid-signature-in/m-p/4875890#M12</guid>
      <dc:creator>vaibhavc1</dc:creator>
      <dc:date>2021-12-03T12:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: { "code": 40103, "message": "Invalid signature in request credentials", "stat": "FAIL" }</title>
      <link>https://community.cisco.com/t5/apis/quot-code-quot-40103-quot-message-quot-quot-invalid-signature-in/m-p/4875891#M13</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Hi, I think the answers you need are in &lt;A href="https://community.duo.com/t/preauth-api-failing-but-check-and-ping-are-good/3125"&gt;the past discussion thread here&lt;/A&gt;, specifically see the &lt;A href="https://community.duo.com/t/preauth-api-failing-but-check-and-ping-are-good/3125/11"&gt;reply on building the signature using the pre-request script feature in postman&lt;/A&gt;.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Dec 2021 15:39:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/quot-code-quot-40103-quot-message-quot-quot-invalid-signature-in/m-p/4875891#M13</guid>
      <dc:creator>Amy2</dc:creator>
      <dc:date>2021-12-03T15:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: { "code": 40103, "message": "Invalid signature in request credentials", "stat": "FAIL" }</title>
      <link>https://community.cisco.com/t5/apis/quot-code-quot-40103-quot-message-quot-quot-invalid-signature-in/m-p/4875892#M14</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Also, are you url encoding the params in the request? There is a &lt;A href="https://www.postman.com/6074515/workspace/dan-nash-s-public-workspace/collection/6074515-9a83d205-c307-4bd1-9bf7-2fe9d08d0b51?ctx=documentation"&gt;third-party Postman public workspace&lt;/A&gt; that some people are using that doesn’t &lt;A href="https://duo.com/docs/adminapi#request-format"&gt;encode the key-value pairs&lt;/A&gt;.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Dec 2021 17:37:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/quot-code-quot-40103-quot-message-quot-quot-invalid-signature-in/m-p/4875892#M14</guid>
      <dc:creator>DuoKristina</dc:creator>
      <dc:date>2021-12-03T17:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: { "code": 40103, "message": "Invalid signature in request credentials", "stat": "FAIL" }</title>
      <link>https://community.cisco.com/t5/apis/quot-code-quot-40103-quot-message-quot-quot-invalid-signature-in/m-p/4875893#M15</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Do you mean encode the Secret and Integration Key?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 10 May 2022 14:53:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/quot-code-quot-40103-quot-message-quot-quot-invalid-signature-in/m-p/4875893#M15</guid>
      <dc:creator>djmarti3</dc:creator>
      <dc:date>2022-05-10T14:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: { "code": 40103, "message": "Invalid signature in request credentials", "stat": "FAIL" }</title>
      <link>https://community.cisco.com/t5/apis/quot-code-quot-40103-quot-message-quot-quot-invalid-signature-in/m-p/4875894#M16</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;No, I mean the parameters you are trying to pass in on the POST.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://duo.com/docs/adminapi#:~:text=also%20be%20present.-,When%20URL%2Dencoding,-%2C%20all%20bytes%20except"&gt;From the Admin API doc&lt;/A&gt;:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;When URL-encoding, all bytes except ASCII letters, digits, underscore ("_"), period ("."), tilde ("~"), and hyphen ("-") are replaced by a percent sign ("%") followed by two hexadecimal digits containing the value of the byte. For example, a space is replaced with “%20” and an at-sign ("@") becomes “%40”.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Like, &lt;CODE&gt;username=testuser1@example.com&lt;/CODE&gt; should be URL encoded as &lt;CODE&gt;username=testuser1%40example.com&lt;/CODE&gt;.&lt;/P&gt;
&lt;P&gt;If using Postman, is the Postman pre-request script used handling URL-encoding of the parameters (is there a function to URL-encode the params)?&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 10 May 2022 15:04:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/quot-code-quot-40103-quot-message-quot-quot-invalid-signature-in/m-p/4875894#M16</guid>
      <dc:creator>DuoKristina</dc:creator>
      <dc:date>2022-05-10T15:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: { "code": 40103, "message": "Invalid signature in request credentials", "stat": "FAIL" }</title>
      <link>https://community.cisco.com/t5/apis/quot-code-quot-40103-quot-message-quot-quot-invalid-signature-in/m-p/4875895#M17</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Thanks so much for responding!   I really appreciate it!&lt;BR /&gt;
I still can get past the sign-in.  For the DUO, I have to use my  phone to get in to the program as an admin when I log in.    Do you think that might be the issue on my side with the API?  I am really new to Java and I am learning it on the go.  I am using Basic Auth to log in and I thought I followed the instruction on doing a HMAC on the five items in the documentation with the secret key to get the password.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 10 May 2022 16:01:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/quot-code-quot-40103-quot-message-quot-quot-invalid-signature-in/m-p/4875895#M17</guid>
      <dc:creator>djmarti3</dc:creator>
      <dc:date>2022-05-10T16:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: { "code": 40103, "message": "Invalid signature in request credentials", "stat": "FAIL" }</title>
      <link>https://community.cisco.com/t5/apis/quot-code-quot-40103-quot-message-quot-quot-invalid-signature-in/m-p/4875896#M18</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;I suggest you take a look at the &lt;A href="https://github.com/duosecurity/duo_client_java"&gt;duo_client_java demonstration client&lt;/A&gt;, which also shows signing.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 10 May 2022 16:14:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/quot-code-quot-40103-quot-message-quot-quot-invalid-signature-in/m-p/4875896#M18</guid>
      <dc:creator>DuoKristina</dc:creator>
      <dc:date>2022-05-10T16:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: { "code": 40103, "message": "Invalid signature in request credentials", "stat": "FAIL" }</title>
      <link>https://community.cisco.com/t5/apis/quot-code-quot-40103-quot-message-quot-quot-invalid-signature-in/m-p/4875897#M19</link>
      <description>&lt;DIV class="duo-migrated-content"&gt;&lt;P&gt;Thanks!   Really appreciate the help.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 10 May 2022 16:59:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/apis/quot-code-quot-40103-quot-message-quot-quot-invalid-signature-in/m-p/4875897#M19</guid>
      <dc:creator>djmarti3</dc:creator>
      <dc:date>2022-05-10T16:59:47Z</dc:date>
    </item>
  </channel>
</rss>

