<?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: Webex API Integration Oauth Flow in Webex for Developers</title>
    <link>https://community.cisco.com/t5/webex-for-developers/webex-api-integration-oauth-flow/m-p/4830559#M2147</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;Is there any specific code example (in Java or Python) that shows how to generate an access token via service app and create a meeting via API?&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
    <pubDate>Mon, 08 May 2023 06:38:19 GMT</pubDate>
    <dc:creator>admartine</dc:creator>
    <dc:date>2023-05-08T06:38:19Z</dc:date>
    <item>
      <title>Webex API Integration Oauth Flow</title>
      <link>https://community.cisco.com/t5/webex-for-developers/webex-api-integration-oauth-flow/m-p/4829138#M2144</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I'm developing a Spring Boot micro service to interact with the Webex API, according to the official documentation:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="https://developer.webex.com/docs/login-with-webex#openid-connect-scopes-and-claims" target="_blank" rel="noopener"&gt;https://developer.webex.com/docs/login-with-webex#openid-connect-scopes-and-claims&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Webex Integrations support following oauth flows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="admartine_0-1683280157560.png" style="width: 400px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/183876iDF586E0705460C3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="admartine_0-1683280157560.png" alt="admartine_0-1683280157560.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In all of the mentioned oauth flows the user is prompted to introduce his/her credentials. Webex API does not support the client_credentials oauth flow:&lt;/P&gt;&lt;P&gt;&lt;A href="https://auth0.com/docs/get-started/authentication-and-authorization-flow/client-credentials-flow" target="_blank" rel="noopener"&gt;https://auth0.com/docs/get-started/authentication-and-authorization-flow/client-credentials-flow&lt;/A&gt;&lt;/P&gt;&lt;P&gt;for M2M (Machine to Machine communications).&lt;/P&gt;&lt;P&gt;Specifically, I need to call the Webex API to create a new meeting without prompting the user to introduce his/her credentials every time.&amp;nbsp;&lt;SPAN&gt;I need to do this operation in an unattended manner.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have tried to do this operation with a Webex Bot with no success.&lt;/P&gt;&lt;P&gt;Is there any option to make calls to Webex API without prompting the user to introduce his/her credentials every time?&lt;/P&gt;&lt;P&gt;Is there any way to configure the authentication process so the user has to introduce his/her credentials only once and not every time (no caching)?&lt;/P&gt;&lt;P&gt;Thank you for your help.&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;</description>
      <pubDate>Fri, 05 May 2023 10:17:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/webex-api-integration-oauth-flow/m-p/4829138#M2144</guid>
      <dc:creator>admartine</dc:creator>
      <dc:date>2023-05-05T10:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Webex API Integration Oauth Flow</title>
      <link>https://community.cisco.com/t5/webex-for-developers/webex-api-integration-oauth-flow/m-p/4829152#M2145</link>
      <description>&lt;P&gt;No, not for integrations.&lt;/P&gt;
&lt;P&gt;You may have a look at Service Applications: &lt;A href="https://developer.webex.com/docs/service-app" target="_blank"&gt;https://developer.webex.com/docs/service-app&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 11:15:57 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/webex-api-integration-oauth-flow/m-p/4829152#M2145</guid>
      <dc:creator>dtibbe</dc:creator>
      <dc:date>2023-05-05T11:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Webex API Integration Oauth Flow</title>
      <link>https://community.cisco.com/t5/webex-for-developers/webex-api-integration-oauth-flow/m-p/4829333#M2146</link>
      <description>&lt;P&gt;In general, the trick is to obtain an access token and &lt;A href="https://developer.webex.com/docs/integrations#using-the-refresh-token" target="_self"&gt;refresh token&lt;/A&gt; for an admin account (either via a manual Integration OAuth2 flow or generated via Service App), and then keep the fresh token alive indefinitely for use by your app.&lt;BR /&gt;This article covers doing so using a HashiCorp Vault plugin: &lt;A href="https://blogs.cisco.com/developer/webexapioauthtokenhashicopvault01" target="_blank"&gt;https://blogs.cisco.com/developer/webexapioauthtokenhashicopvault01&lt;/A&gt;&lt;BR /&gt;though you can easily do so in your app - as long as it is running continuously (or at minimum once every &amp;lt; 90 days).&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 14:30:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/webex-api-integration-oauth-flow/m-p/4829333#M2146</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2023-05-05T14:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Webex API Integration Oauth Flow</title>
      <link>https://community.cisco.com/t5/webex-for-developers/webex-api-integration-oauth-flow/m-p/4830559#M2147</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;Is there any specific code example (in Java or Python) that shows how to generate an access token via service app and create a meeting via API?&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 06:38:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/webex-api-integration-oauth-flow/m-p/4830559#M2147</guid>
      <dc:creator>admartine</dc:creator>
      <dc:date>2023-05-08T06:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Webex API Integration Oauth Flow</title>
      <link>https://community.cisco.com/t5/webex-for-developers/webex-api-integration-oauth-flow/m-p/4830593#M2148</link>
      <description>&lt;P&gt;Service Apps including the retrieval of the first access token is described in the documentation: &lt;A href="https://developer.webex.com/docs/service-app" target="_blank"&gt;https://developer.webex.com/docs/service-app&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;After that, you may use the refresh token to renew the access token (as you would also do for integrations as dstaudt mentioned).&lt;/P&gt;
&lt;P&gt;The creation of a meeting is described at&amp;nbsp;&lt;A href="https://developer.webex.com/docs/api/v1/meetings/create-a-meeting" target="_blank"&gt;https://developer.webex.com/docs/api/v1/meetings/create-a-meeting&lt;/A&gt; and some general notes are given at the overview page: &lt;A href="https://developer.webex.com/docs/meetings" target="_blank"&gt;https://developer.webex.com/docs/meetings&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Adapting the HTTP requests to the code language of your choice should be easy &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2023 07:15:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/webex-api-integration-oauth-flow/m-p/4830593#M2148</guid>
      <dc:creator>dtibbe</dc:creator>
      <dc:date>2023-05-08T07:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Webex API Integration Oauth Flow</title>
      <link>https://community.cisco.com/t5/webex-for-developers/webex-api-integration-oauth-flow/m-p/4831873#M2152</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I have read the service app documentation:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developer.webex.com/docs/service-app" target="_blank" rel="nofollow noopener noreferrer"&gt;https://developer.webex.com/docs/service-app&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have generated an access token with the spark:all permission and all permissions related to meeting, but when I try to create a meeting via Postman using the access token, I always get an "500 Internal Server Error"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have authorized the service app.&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 12:38:48 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/webex-api-integration-oauth-flow/m-p/4831873#M2152</guid>
      <dc:creator>admartine</dc:creator>
      <dc:date>2023-05-09T12:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Webex API Integration Oauth Flow</title>
      <link>https://community.cisco.com/t5/webex-for-developers/webex-api-integration-oauth-flow/m-p/4831954#M2157</link>
      <description>&lt;P&gt;Can you share the tracking ID from that screenshot in text format? Can you also provide the full API request that was made? (our logs don't store that for privacy reasons).&lt;BR /&gt;&lt;BR /&gt;Might be best to create a ticket at &lt;A href="mailto:devsupport@webex.com" target="_blank"&gt;devsupport@webex.com&lt;/A&gt;&amp;nbsp;with all this info, so that we can investigate properly.&lt;BR /&gt;&lt;BR /&gt;But I think that the 500 error may occur when trying to create a meeting without giving the&amp;nbsp;&lt;EM&gt;hostEmail&lt;/EM&gt; parameter, you could test with it and see if it helps. If not, then please create the ticket with above mentioned information.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 14:17:47 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/webex-api-integration-oauth-flow/m-p/4831954#M2157</guid>
      <dc:creator>Raffaele Lagana</dc:creator>
      <dc:date>2023-05-09T14:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Webex API Integration Oauth Flow</title>
      <link>https://community.cisco.com/t5/webex-for-developers/webex-api-integration-oauth-flow/m-p/4833476#M2165</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;That has solved my problem. Thank you very much!&lt;/P&gt;&lt;P&gt;I was trying to create a meeting without the hostEmail parameter.&lt;/P&gt;&lt;P&gt;Though, in the official API documentation:&amp;nbsp;&lt;A href="https://developer.webex.com/docs/api/v1/meetings/create-a-meeting" target="_blank"&gt;https://developer.webex.com/docs/api/v1/meetings/create-a-meeting&lt;/A&gt;&lt;/P&gt;&lt;P&gt;the hostEmail parameter is not required.&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 15:19:11 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/webex-api-integration-oauth-flow/m-p/4833476#M2165</guid>
      <dc:creator>admartine</dc:creator>
      <dc:date>2023-05-11T15:19:11Z</dc:date>
    </item>
  </channel>
</rss>

