Actions APIs cannot configure both OAuth and no-Auth at the same time

Background

I have defined an Action in a GPTs application. The Action is configured by OAuth as the auth flow. And in this action, there is a set of APIs, /path1, /path2, /path3, etc. Except for /path1, all the other APIs are required to pass the access token based on the OAuth flow. And the /path1 is the exception and it should be non-auth and i would not like let user to sign in to access the /path1.

Problem

My problem is the GPTs system is not running as expected. When my query is to trigger the /path1, it still needs sign-in. It seems that if the action is configured by OAuth as authentication, all the APIs will need user sign in.

Configure/Actions

  • Authentication: OAuth
  • Schema: opemapi is sth like below,
paths:
  /path1:
  /path2:
      security:
        - OAuth2:
  /path3:
      security:
        - OAuth2:
components:
  securitySchemes:
    OAuth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: 
          tokenUrl: 
          scopes:

Does anyone have ideas?

Best

why not make a separate action? :thinking:

    flowchart

Have tried. But the different actions must use different server endpoints. It will raise error when i use same endpoints for two actions. It means, i must serve the APIs on different endpoints. That’s the workaround solution.