<?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>Question Re: API 'Try Out' feature disabled when using security schema in OpenAPI spec in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/api-try-out-feature-disabled-when-using-security-schema-in-openapi-spec/qaa-p/12257874#M4590856</link>
    <description>&lt;P&gt;Hey &lt;SPAN class="mention-scrubbed"&gt;loganuk&lt;/SPAN&gt;,&lt;BR /&gt;it seems that I posted a kind of similar question on the securitySchemes: &lt;BR /&gt;&lt;A href="https://answers.sap.com/questions/13359297/sap-api-management-developer-portal-and-openapi-se.html" target="test_blank"&gt;https://answers.sap.com/questions/13359297/sap-api-management-developer-portal-and-openapi-se.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Did you receive any feedback outside of the SAP Community or did you find a solution for this?&lt;/P&gt;</description>
    <pubDate>Fri, 30 Apr 2021 13:59:24 GMT</pubDate>
    <dc:creator>mike_zaschka</dc:creator>
    <dc:date>2021-04-30T13:59:24Z</dc:date>
    <item>
      <title>API 'Try Out' feature disabled when using security schema in OpenAPI spec</title>
      <link>https://community.sap.com/t5/technology-q-a/api-try-out-feature-disabled-when-using-security-schema-in-openapi-spec/qaq-p/12257873</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;On the SwaggerHub website I noticed that their editor tool has an 'Authorize' feature that is capable of obtaining a token needed for an OAuth protected endpoint:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1860873-2020-11-17-12-21-41-test-100-d7433-swaggerhub.png" /&gt;&lt;/P&gt;
  &lt;P&gt;I can't find anything similar when using either the SAP API Designer tool or the Developer Portal. At the moment it seems as though the 'try out' feature wont be available if I've configured the OpenAPI (v3) spec to use a security schema. &lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;securitySchemes:
    erpsalesorder_auth:
      type: oauth2
      flows:
        implicit:
          authorizationUrl: 'https://{url to my oauth generator endpoint}'
          scopes:
            'read:SalesHeader': read your salesorder
...
...
...
     security:
        - erpsalesorder_auth:
            - 'read:SalesHeader'
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;In the below image you'll see that the 'Try Out' button is disabled. If the items above relating to the security schema are removed, the feature becomes available again.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1860874-2020-11-17-12-32-35-developer-portal.png" /&gt;&lt;/P&gt;
  &lt;P&gt;I'm assuming the missing 'Authorize' feature is probably due to the editor lagging behind the version in use on the SwaggerHub website? How are others 'trying out' endpoints in the developer portal when an OAuth token is needed?&lt;/P&gt;
  &lt;P&gt;TIA!&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2020 13:00:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/api-try-out-feature-disabled-when-using-security-schema-in-openapi-spec/qaq-p/12257873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2020-11-17T13:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: API 'Try Out' feature disabled when using security schema in OpenAPI spec</title>
      <link>https://community.sap.com/t5/technology-q-a/api-try-out-feature-disabled-when-using-security-schema-in-openapi-spec/qaa-p/12257874#M4590856</link>
      <description>&lt;P&gt;Hey &lt;SPAN class="mention-scrubbed"&gt;loganuk&lt;/SPAN&gt;,&lt;BR /&gt;it seems that I posted a kind of similar question on the securitySchemes: &lt;BR /&gt;&lt;A href="https://answers.sap.com/questions/13359297/sap-api-management-developer-portal-and-openapi-se.html" target="test_blank"&gt;https://answers.sap.com/questions/13359297/sap-api-management-developer-portal-and-openapi-se.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Did you receive any feedback outside of the SAP Community or did you find a solution for this?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 13:59:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/api-try-out-feature-disabled-when-using-security-schema-in-openapi-spec/qaa-p/12257874#M4590856</guid>
      <dc:creator>mike_zaschka</dc:creator>
      <dc:date>2021-04-30T13:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: API 'Try Out' feature disabled when using security schema in OpenAPI spec</title>
      <link>https://community.sap.com/t5/technology-q-a/api-try-out-feature-disabled-when-using-security-schema-in-openapi-spec/qaa-p/12257875#M4590857</link>
      <description>&lt;P&gt;I have exactly the same question. &lt;BR /&gt;Seems disappointing that no one has answered.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 13:34:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/api-try-out-feature-disabled-when-using-security-schema-in-openapi-spec/qaa-p/12257875#M4590857</guid>
      <dc:creator>former_member105769</dc:creator>
      <dc:date>2023-02-07T13:34:31Z</dc:date>
    </item>
  </channel>
</rss>

