Skip to content

API owners should have implicit access without requiring a subscription #1

Description

@spinoDev

-- Problem

Currently, API creators must manually subscribe to their own APIs before they can access them through the gateway.

Since the creator is expected to test and consume their own API, this adds an unnecessary step.

-- Expected Behavior

When a user publishes an API:

  • An active subscription is automatically created for the owner.
  • An API key is generated for that subscription.
  • The owner can immediately access the API through the gateway.
  • The owner cannot create another subscription for the same API.

-- Acceptance Criteria

  • Publishing an API automatically creates an active subscription for the owner.
  • An API key is generated for the owner's subscription.
  • The owner can successfully invoke the API using the generated API key.
  • Duplicate subscriptions for the owner are prevented.
  • Existing subscription flow for other users remains unchanged.

-- Labels

enhancement
subscriptions
gateway

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions