<?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 How to authorize webex c# application in Webex for Developers</title>
    <link>https://community.cisco.com/t5/webex-for-developers/how-to-authorize-webex-c-application/m-p/4825267#M2116</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;string clientId = "your client id";  
string clientSecret = "your client secret";
string redirectUri = "KitchenSink://response/";
string scope = "webex:all";
var auth = new OAuthAuthenticator(clientId, clientSecret, scope, redirectUri);
// authCode(64 bits) can be extracted from url by loading auth.authorizationUrl with a WebBrowser
var webex = new Webex(auth);
auth?.Authorize(authCode, result =&amp;gt;
{
    if (result.Success)
    {
        System.Console.WriteLine("authorize success!");
    }
    else
    {
        System.Console.WriteLine("authorize failed!");
    }
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1).in Above code it doesn't go inside &lt;SPAN class=""&gt;result&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&amp;gt;&lt;/SPAN&gt; {. .can anyone know how to do it?&lt;/P&gt;&lt;P&gt;2). If anyone have other ways to authorize in webex, plz suggest for c#&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 01 May 2023 07:06:09 GMT</pubDate>
    <dc:creator>dsign228</dc:creator>
    <dc:date>2023-05-01T07:06:09Z</dc:date>
    <item>
      <title>How to authorize webex c# application</title>
      <link>https://community.cisco.com/t5/webex-for-developers/how-to-authorize-webex-c-application/m-p/4825267#M2116</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;string clientId = "your client id";  
string clientSecret = "your client secret";
string redirectUri = "KitchenSink://response/";
string scope = "webex:all";
var auth = new OAuthAuthenticator(clientId, clientSecret, scope, redirectUri);
// authCode(64 bits) can be extracted from url by loading auth.authorizationUrl with a WebBrowser
var webex = new Webex(auth);
auth?.Authorize(authCode, result =&amp;gt;
{
    if (result.Success)
    {
        System.Console.WriteLine("authorize success!");
    }
    else
    {
        System.Console.WriteLine("authorize failed!");
    }
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1).in Above code it doesn't go inside &lt;SPAN class=""&gt;result&lt;/SPAN&gt; &lt;SPAN class=""&gt;=&amp;gt;&lt;/SPAN&gt; {. .can anyone know how to do it?&lt;/P&gt;&lt;P&gt;2). If anyone have other ways to authorize in webex, plz suggest for c#&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2023 07:06:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/how-to-authorize-webex-c-application/m-p/4825267#M2116</guid>
      <dc:creator>dsign228</dc:creator>
      <dc:date>2023-05-01T07:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to authorize webex c# application</title>
      <link>https://community.cisco.com/t5/webex-for-developers/how-to-authorize-webex-c-application/m-p/4825278#M2117</link>
      <description>&lt;P&gt;That looks more like an issue with the OAuthAuthenticator library, best would be best to ask in a support forum by that supplier.. Or does it do some logging and you're seeing any Webex issue?&lt;/P&gt;
&lt;P&gt;Some time ago, I build a GUI app. It was using a browser component for the OAuth flow, redirect uri was to a non-existing URL. The browser component had a special 404 error handler to catch up the URL and grab the code. Very hacky, but was working &lt;LI-EMOJI id="lia_winking-face" title=":winking_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2023 07:35:25 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/how-to-authorize-webex-c-application/m-p/4825278#M2117</guid>
      <dc:creator>dtibbe</dc:creator>
      <dc:date>2023-05-01T07:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to authorize webex c# application</title>
      <link>https://community.cisco.com/t5/webex-for-developers/how-to-authorize-webex-c-application/m-p/4825715#M2121</link>
      <description>&lt;P&gt;Just to note "webex:all" is not a valid scope: &lt;A href="https://developer.webex.com/docs/integrations#scopes" target="_blank"&gt;https://developer.webex.com/docs/integrations#scopes&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2023 16:43:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/how-to-authorize-webex-c-application/m-p/4825715#M2121</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2023-05-01T16:43:37Z</dc:date>
    </item>
  </channel>
</rss>

