<?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: HTTP XMLAPI Authentication Problem in Webex for Developers</title>
    <link>https://community.cisco.com/t5/webex-for-developers/http-xmlapi-authentication-problem/m-p/4588936#M582</link>
    <description>&lt;P&gt;Hello, the sessionId should be part of the &lt;EM&gt;Set-Cookie&lt;/EM&gt;&amp;nbsp;Response Header, do you see it there?&lt;BR /&gt;&lt;BR /&gt;Would look something like:&amp;nbsp;"Set-Cookie: &lt;STRONG&gt;SessionId=f08102c8ce5aaf8fba23a7238&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;cc2ef464b990e18bfbb7fb048820c0e28955c54;&lt;/STRONG&gt; Path=/; &lt;BR /&gt;HttpOnly"&lt;/P&gt;</description>
    <pubDate>Fri, 08 Apr 2022 09:03:22 GMT</pubDate>
    <dc:creator>Raffaele Lagana</dc:creator>
    <dc:date>2022-04-08T09:03:22Z</dc:date>
    <item>
      <title>HTTP XMLAPI Authentication Problem</title>
      <link>https://community.cisco.com/t5/webex-for-developers/http-xmlapi-authentication-problem/m-p/4588687#M577</link>
      <description>&lt;P&gt;Hello I'm not really a Cisco Developer, rather I am tasked to integrate Cisco's Webx to ServiceNow. So far CUCM and RISPort70 has been a breeze to connect and get the information we need, but Endpoints using session based login is causing some confusion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to &lt;A href="https://www.cisco.com/c/dam/en/us/td/docs/telepresence/endpoint/ce915/collaboration-endpoint-software-api-reference-guide-ce915.pdf" target="_self"&gt;Collaboration Endpoint Software 9.15&lt;/A&gt;&amp;nbsp;to set the session is to get the&amp;nbsp;&lt;STRONG&gt;SessionId&lt;/STRONG&gt;&amp;nbsp;but&amp;nbsp;http://&amp;lt;ip-address&amp;gt;/&lt;BR /&gt;xmlapi/session/begin responds with&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;SecureClientId&lt;/SPAN&gt;&lt;/STRONG&gt; in the headers.&lt;/P&gt;&lt;P&gt;I tried both just getting the&amp;nbsp;&lt;SPAN&gt;SecureClientId value and just plugging it on SessionID and straight up using SecureClientID for the Cookie header but I still end up with a 401&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 00:32:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/http-xmlapi-authentication-problem/m-p/4588687#M577</guid>
      <dc:creator>Lenard.Valdez</dc:creator>
      <dc:date>2022-04-08T00:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP XMLAPI Authentication Problem</title>
      <link>https://community.cisco.com/t5/webex-for-developers/http-xmlapi-authentication-problem/m-p/4588936#M582</link>
      <description>&lt;P&gt;Hello, the sessionId should be part of the &lt;EM&gt;Set-Cookie&lt;/EM&gt;&amp;nbsp;Response Header, do you see it there?&lt;BR /&gt;&lt;BR /&gt;Would look something like:&amp;nbsp;"Set-Cookie: &lt;STRONG&gt;SessionId=f08102c8ce5aaf8fba23a7238&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;cc2ef464b990e18bfbb7fb048820c0e28955c54;&lt;/STRONG&gt; Path=/; &lt;BR /&gt;HttpOnly"&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 09:03:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/http-xmlapi-authentication-problem/m-p/4588936#M582</guid>
      <dc:creator>Raffaele Lagana</dc:creator>
      <dc:date>2022-04-08T09:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP XMLAPI Authentication Problem</title>
      <link>https://community.cisco.com/t5/webex-for-developers/http-xmlapi-authentication-problem/m-p/4589519#M586</link>
      <description>&lt;P&gt;Hello, That's what I expect to see from the response right? But the value of Set-Cookie starts with &lt;STRONG&gt;SessionClientId&lt;/STRONG&gt; not &lt;STRONG&gt;SessionId&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here's my request&amp;nbsp;(obscured some data for security)&lt;/P&gt;&lt;PRE&gt;POST /xmlapi/session/begin HTTP/1.1
Host: 10.102.XXX.XX
Authorization: Basic &amp;lt;base64&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here's a response header from 2days ago.(obscured some data for security)&lt;/P&gt;&lt;PRE&gt;{"Referrer-Policy":["same-origin"],"X-Frame-Options":["SAMEORIGIN"],"Server":["nginx"],"Cache-Control":["no-cache, no-store"],"X-Content-Type-Options":["nosniff"],"Content-Security-Policy":["base-uri 'self'; form-action 'self'; frame-ancestors 'self'; block-all-mixed-content","default-src 'self'; style-src 'self' 'unsafe-inline'; worker-src 'self' blob:; img-src 'self' data:"],"Connection":["keep-alive"],"Set-Cookie":["SecureClientId=95cc7c01962fa97207b41614251d57d5140000e686088d0dd1ea21c9f62cXXXX; Path=/web; HttpOnly; secure"],"X-XSS-Protection":["1; mode=block"],"Date":["Thu, 07 Apr 2022 11:05:40 GMT"]}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Apr 2022 13:21:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/http-xmlapi-authentication-problem/m-p/4589519#M586</guid>
      <dc:creator>Lenard.Valdez</dc:creator>
      <dc:date>2022-04-09T13:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP XMLAPI Authentication Problem</title>
      <link>https://community.cisco.com/t5/webex-for-developers/http-xmlapi-authentication-problem/m-p/4591072#M608</link>
      <description>&lt;P&gt;Ok thanks, just to be sure was the token that's used here one which was authenticated by an admin?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 16:38:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/http-xmlapi-authentication-problem/m-p/4591072#M608</guid>
      <dc:creator>Raffaele Lagana</dc:creator>
      <dc:date>2022-04-12T16:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP XMLAPI Authentication Problem</title>
      <link>https://community.cisco.com/t5/webex-for-developers/http-xmlapi-authentication-problem/m-p/4591301#M615</link>
      <description>&lt;P&gt;I'm not really sure, they only gave the username/password credentials. weird thing is when we use postman its returning&amp;nbsp;&lt;STRONG&gt;SecureSessionId&lt;/STRONG&gt; and it works using this when using it for other api calls.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I only copy pasted the code generated by postman for a quick test but we're still getting &lt;STRONG&gt;SessionClientId&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 00:55:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/http-xmlapi-authentication-problem/m-p/4591301#M615</guid>
      <dc:creator>Lenard.Valdez</dc:creator>
      <dc:date>2022-04-13T00:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: HTTP XMLAPI Authentication Problem</title>
      <link>https://community.cisco.com/t5/webex-for-developers/http-xmlapi-authentication-problem/m-p/4592040#M637</link>
      <description>&lt;P&gt;Could you share the code you are using to make this post request outside of postman?&amp;nbsp; We have been trying to duplicate this but have not been able to so far.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One strange thing about the response you are receiving is that its showing the path was set to /web (Path=/web) instead of "/xmlapi/session/begin".&amp;nbsp; I only see this /web path when i try to make a request to the host device without any url path, in that case it does a redirect to /web first.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also could you confirm if you are being redirected (HTTP 302)to the HTTPS url when testing in postman?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 17:26:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/http-xmlapi-authentication-problem/m-p/4592040#M637</guid>
      <dc:creator>Mike Palkovich</dc:creator>
      <dc:date>2022-04-13T17:26:48Z</dc:date>
    </item>
  </channel>
</rss>

