<?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: Meraki webhook fails when using basic auth in Network Platform API</title>
    <link>https://community.cisco.com/t5/network-platform-api/meraki-webhook-fails-when-using-basic-auth/m-p/5450818#M7896</link>
    <description>&lt;P&gt;Can  you share what output you are getting ?&lt;/P&gt;</description>
    <pubDate>Thu, 13 May 2021 19:22:21 GMT</pubDate>
    <dc:creator>inderdeepsingh1</dc:creator>
    <dc:date>2021-05-13T19:22:21Z</dc:date>
    <item>
      <title>Meraki webhook fails when using basic auth</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-webhook-fails-when-using-basic-auth/m-p/5450817#M7895</link>
      <description>&lt;P&gt;I'm attempting to send Meraki event data via Webhooks to a rest endpoint that requires authentication. There does not appear to be a way for me to add headers to my Webhook configurations via the UI so I am adding basic authentication in the Webhook URL. My Webhook URL Looks like this:&lt;/P&gt;&lt;P&gt;https://&amp;lt;user&amp;gt;:&amp;lt;password&amp;gt;@collector.test.com/meraki&lt;/P&gt;&lt;P&gt;However; Meraki does not seem to like this as it always fails when I run a test. I get 401 unauthorized's as it appear Meraki is stripping out or not forwarding the auth creds. I've verified that the creds and endpoint work by doing the following curl test:&lt;/P&gt;&lt;P&gt;curl -X POST https://&amp;lt;user&amp;gt;:&amp;lt;password&amp;gt;@collector.test.com/meraki \&lt;BR /&gt;-H 'Content-Type: application/json' \&lt;BR /&gt;-d '{"message":"test"}'&lt;/P&gt;&lt;P&gt;I'd prefer to use Bearer authentication but there doesn't be a way for me to add http headers to Webhooks. &lt;/P&gt;&lt;P&gt;What's the best way to accomplish this?&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 17:57:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-webhook-fails-when-using-basic-auth/m-p/5450817#M7895</guid>
      <dc:creator>DevMan</dc:creator>
      <dc:date>2021-05-13T17:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Meraki webhook fails when using basic auth</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-webhook-fails-when-using-basic-auth/m-p/5450818#M7896</link>
      <description>&lt;P&gt;Can  you share what output you are getting ?&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 19:22:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-webhook-fails-when-using-basic-auth/m-p/5450818#M7896</guid>
      <dc:creator>inderdeepsingh1</dc:creator>
      <dc:date>2021-05-13T19:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Meraki webhook fails when using basic auth</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-webhook-fails-when-using-basic-auth/m-p/5450819#M7897</link>
      <description>&lt;P&gt;I misspoke. The test just says "fail" so I don't have any context into where or why it's failing. Is there a way to see what the response code/payload is?&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 20:54:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-webhook-fails-when-using-basic-auth/m-p/5450819#M7897</guid>
      <dc:creator>DevMan</dc:creator>
      <dc:date>2021-05-13T20:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Meraki webhook fails when using basic auth</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-webhook-fails-when-using-basic-auth/m-p/5450820#M7898</link>
      <description>&lt;P&gt;&lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/60504"&gt;@DevMan&lt;/A&gt; : can you check this postman collection &lt;/P&gt;&lt;P&gt;&lt;A href="https://documenter.getpostman.com/view/897512/SVfRtnU7?version=latest" target="_blank" rel="nofollow noopener noreferrer"&gt;https://documenter.getpostman.com/view/897512/SVfRtnU7?version=latest&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 21:32:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-webhook-fails-when-using-basic-auth/m-p/5450820#M7898</guid>
      <dc:creator>inderdeepsingh1</dc:creator>
      <dc:date>2021-05-13T21:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Meraki webhook fails when using basic auth</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-webhook-fails-when-using-basic-auth/m-p/5450821#M7899</link>
      <description>&lt;P&gt;Cisco Meraki WebHooks do not support basic authentication.  Just a shared secret.  Here are some examples.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.cisco.com/meraki/webhooks/#!webhook-sample-alerts" target="_self" rel="nofollow noopener noreferrer"&gt;https://developer.cisco.com/meraki/webhooks/#!webhook-sample-alerts&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 21:33:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-webhook-fails-when-using-basic-auth/m-p/5450821#M7899</guid>
      <dc:creator>Philip D'Ath</dc:creator>
      <dc:date>2021-05-13T21:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Meraki webhook fails when using basic auth</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-webhook-fails-when-using-basic-auth/m-p/5450822#M7900</link>
      <description>&lt;P&gt;custom headers are coming to a webhook near you...&lt;/P&gt;&lt;P&gt;Stay tuned for this Summer's hot updates &lt;SPAN class="lia-unicode-emoji" title=":winking_face:"&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 12:10:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-webhook-fails-when-using-basic-auth/m-p/5450822#M7900</guid>
      <dc:creator>DexterLabora</dc:creator>
      <dc:date>2021-05-27T12:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Meraki webhook fails when using basic auth</title>
      <link>https://community.cisco.com/t5/network-platform-api/meraki-webhook-fails-when-using-basic-auth/m-p/5450823#M7901</link>
      <description>&lt;P&gt;&lt;A href="https://community.meraki.com/t5/user/viewprofilepage/user-id/1450"&gt;@DexterLabora&lt;/A&gt; : that’s good news, thanks .. waiting &lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 12:10:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-platform-api/meraki-webhook-fails-when-using-basic-auth/m-p/5450823#M7901</guid>
      <dc:creator>inderdeepsingh1</dc:creator>
      <dc:date>2021-05-27T12:10:49Z</dc:date>
    </item>
  </channel>
</rss>

