<?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: CER v15 vs v14 authenticate API in Management</title>
    <link>https://community.cisco.com/t5/management/cer-v15-vs-v14-authenticate-api/m-p/5251771#M4262</link>
    <description>&lt;P&gt;That code snippet was added to deal with a V14 release. I don't have the full version because I don't have remote access to that network any longer. V12.5 didn't need the cookie. V14 definitely needs the cookie.&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jan 2025 18:52:52 GMT</pubDate>
    <dc:creator>Elliot Dierksen</dc:creator>
    <dc:date>2025-01-23T18:52:52Z</dc:date>
    <item>
      <title>CER v15 vs v14 authenticate API</title>
      <link>https://community.cisco.com/t5/management/cer-v15-vs-v14-authenticate-api/m-p/5199552#M4217</link>
      <description>&lt;P&gt;When working with DevNet Sandbox CER v14, authentication works as described in the API documentation.&lt;BR /&gt;&lt;BR /&gt;A request to&amp;nbsp;&lt;SPAN&gt;/authenticate/status/ returns a 401, a CER 401 page, along with a JSESSIONID cookie.&lt;BR /&gt;A second request to&amp;nbsp;&lt;SPAN&gt;/authenticate/status/ while passing that cookie, returns a 200 and&amp;nbsp;&amp;lt;authentication&amp;gt;&amp;lt;status&amp;gt;Authentication successful on publisher &amp;lt;/status&amp;gt;...&lt;BR /&gt;&lt;BR /&gt;When testing the same on my v15 environment:&lt;BR /&gt;A request to&amp;nbsp;/authenticate/status/ returns a 200, &amp;lt;authentication&amp;gt;&amp;lt;status&amp;gt;Authentication failed on publisher &amp;lt;/status&amp;gt;..., along with a JSESSIONID cookie.&lt;BR /&gt;A second request to&amp;nbsp;/authenticate/status/ while passing that cookie, returns a 200 again and &amp;lt;authentication&amp;gt;&amp;lt;status&amp;gt;Authentication failed on publisher &amp;lt;/status&amp;gt;... again.&lt;BR /&gt;&lt;BR /&gt;Can anyone confirm how they are authenticating to CER v15 APIs and / or if there has been a change from v14 to v15?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 17:16:35 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/cer-v15-vs-v14-authenticate-api/m-p/5199552#M4217</guid>
      <dc:creator>rmaslanka2</dc:creator>
      <dc:date>2024-09-26T17:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: CER v15 vs v14 authenticate API</title>
      <link>https://community.cisco.com/t5/management/cer-v15-vs-v14-authenticate-api/m-p/5199838#M4218</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1423176"&gt;@rmaslanka2&lt;/a&gt;&amp;nbsp;this does look like a change in auth method for the API, the docs for v15&amp;nbsp;&lt;A href="https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cer/15/english/administration/guide/cer0_b_cisco-emergency-responder-administration-guide-15/cer0_m_cisco-emergency-responder-api-documentation.html" target="_blank"&gt;https://www.cisco.com/c/en/us/td/docs/voice_ip_comm/cer/15/english/administration/guide/cer0_b_cisco-emergency-responder-administration-guide-15/cer0_m_cisco-emergency-responder-api-documentation.html&lt;/A&gt;&amp;nbsp;point to devnet, but that as you noted does not appear to have been updated for v15, nor an API change log. In the past other platforms such as sd-wan have had the change of auth on the main product page too.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do not know the product well enough, but if you can login via the UI and capture the details in developer tools, this might give you a clue as what is going on with v15 which has change. That or its a call to TAC for the ENG team to advise.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 09:50:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/cer-v15-vs-v14-authenticate-api/m-p/5199838#M4218</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2024-09-27T09:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: CER v15 vs v14 authenticate API</title>
      <link>https://community.cisco.com/t5/management/cer-v15-vs-v14-authenticate-api/m-p/5210546#M4239</link>
      <description>&lt;P&gt;I have pretty much the same issue except I'm getting a 404.&amp;nbsp; When I send the auth request to a 12.5 server it works perfectly; however sending to the version 15 server results in 404.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 16:15:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/cer-v15-vs-v14-authenticate-api/m-p/5210546#M4239</guid>
      <dc:creator>Mark Dugas</dc:creator>
      <dc:date>2024-10-17T16:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: CER v15 vs v14 authenticate API</title>
      <link>https://community.cisco.com/t5/management/cer-v15-vs-v14-authenticate-api/m-p/5211022#M4240</link>
      <description>&lt;P&gt;I have a AXl Test Application i use since years and this one is working fine with CUCM &amp;gt;10 and just tested with CUCM 15 in dCloud&lt;BR /&gt;&lt;BR /&gt;Are you just trying to figure out your authentication status and this returns 404 or do you get a 404 when perfomring AXL requests, too?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 10:00:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/cer-v15-vs-v14-authenticate-api/m-p/5211022#M4240</guid>
      <dc:creator>thedd</dc:creator>
      <dc:date>2024-10-18T10:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: CER v15 vs v14 authenticate API</title>
      <link>https://community.cisco.com/t5/management/cer-v15-vs-v14-authenticate-api/m-p/5211118#M4241</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/399466"&gt;@thedd&lt;/a&gt;&amp;nbsp;I don't have any issue with authenticating to CUCM v15 and haven't run into any CUCM AXL changes that I needed to adjust for after moving from 12.5 to 15.&lt;BR /&gt;&lt;BR /&gt;I am having issues with CER / Emergency Responder though.&amp;nbsp; The documented method for authenticating to CER is different than CUCM.&amp;nbsp; Have you had success with CER v15?&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 13:00:43 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/cer-v15-vs-v14-authenticate-api/m-p/5211118#M4241</guid>
      <dc:creator>rmaslanka2</dc:creator>
      <dc:date>2024-10-18T13:00:43Z</dc:date>
    </item>
    <item>
      <title>Re:CER v15 vs v14 authenticate API</title>
      <link>https://community.cisco.com/t5/management/cer-v15-vs-v14-authenticate-api/m-p/5211145#M4242</link>
      <description>My existing script gets 404 on version 15 and gets a 200 on version 12.5.&lt;BR /&gt;I referenced what I assume is CER Version 15 API documentation at: &lt;A href="https://developer.cisco.com/site/cer/documents/api-reference/cisco-emergency-responder-cer-api-documentation/#authentication" target="_blank"&gt;https://developer.cisco.com/site/cer/documents/api-reference/cisco-emergency-responder-cer-api-documentation/#authentication&lt;/A&gt;&lt;BR /&gt;I added a workaround in my script to do an initial auth call to get a cookie: JSESSIONID. If that call returns a 200, then I assume Version 15, then set that in the header and then use Basic Auth to do my desired API call. If the initial auth call does not return a 200, I use the old authentication method.&lt;BR /&gt;This is a pain because now I have to retrofit my old CER scripts.&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Oct 2024 13:24:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/cer-v15-vs-v14-authenticate-api/m-p/5211145#M4242</guid>
      <dc:creator>Mark Dugas</dc:creator>
      <dc:date>2024-10-18T13:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: CER v15 vs v14 authenticate API</title>
      <link>https://community.cisco.com/t5/management/cer-v15-vs-v14-authenticate-api/m-p/5250508#M4259</link>
      <description>&lt;P&gt;As far as I can tell, this behavior changed between base CER 15 (-10000) and SU1a (&lt;SPAN&gt;15.0.1.11901-3)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 23:03:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/cer-v15-vs-v14-authenticate-api/m-p/5250508#M4259</guid>
      <dc:creator>Mark-9Line</dc:creator>
      <dc:date>2025-01-21T23:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: CER v15 vs v14 authenticate API</title>
      <link>https://community.cisco.com/t5/management/cer-v15-vs-v14-authenticate-api/m-p/5251508#M4260</link>
      <description>&lt;P&gt;Here is a code snippet of how I worked around this. This definitely changed starting with CER V14.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;                hdrs = []
                q = requests.get(cer_full_url, auth=req_dauth, verify=False)
                #print('Status from 1st GET',q.status_code)
                if q.status_code == 401:
                        h = q.headers['Set-Cookie'].split(';')
                        hdr = { 'Cookie': h[0] }
                        q = requests.get(cer_full_url,auth=req_dauth,verify=False,headers=hdr)
                        #print('Status from 2nd GET',q.status_code)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 10:18:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/cer-v15-vs-v14-authenticate-api/m-p/5251508#M4260</guid>
      <dc:creator>Elliot Dierksen</dc:creator>
      <dc:date>2025-01-23T10:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: CER v15 vs v14 authenticate API</title>
      <link>https://community.cisco.com/t5/management/cer-v15-vs-v14-authenticate-api/m-p/5251685#M4261</link>
      <description>&lt;P&gt;Hi Elliot, are you saying you are getting a 200 response in a CER 14 release? If so, what's the full version of CER 14 you're running? I see CER still presents a 401 in base v15 (-10000). Unfortunately, I don't have a 14 to test with at my fingertips.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 15:51:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/cer-v15-vs-v14-authenticate-api/m-p/5251685#M4261</guid>
      <dc:creator>Mark-9Line</dc:creator>
      <dc:date>2025-01-23T15:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: CER v15 vs v14 authenticate API</title>
      <link>https://community.cisco.com/t5/management/cer-v15-vs-v14-authenticate-api/m-p/5251771#M4262</link>
      <description>&lt;P&gt;That code snippet was added to deal with a V14 release. I don't have the full version because I don't have remote access to that network any longer. V12.5 didn't need the cookie. V14 definitely needs the cookie.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 18:52:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/management/cer-v15-vs-v14-authenticate-api/m-p/5251771#M4262</guid>
      <dc:creator>Elliot Dierksen</dc:creator>
      <dc:date>2025-01-23T18:52:52Z</dc:date>
    </item>
  </channel>
</rss>

