Apiable

Access control

Access Control

Access control in Apiable authorizes your API consumers with OAuth2 scopes, so each subscriber gets exactly the access their plan grants instead of an all-or-nothing API key.

Access control in Apiable authorizes your API consumers with OAuth2 scopes. Each subscriber receives a token carrying exactly the access their plan grants, instead of an all-or-nothing API key.

How does access control work in Apiable?

You define scopes for your APIs, assign them to a plan, and approve the access consumers request. Your authorization server then issues each subscriber a token carrying only the scopes they hold.

  1. Define scopes for your APIs under Catalog → Resource Groups.
  2. Assign scopes to a plan on its Access Control tab, each as Active, Optional, or Restricted.
  3. Handle grant requests as consumers ask for Optional and Restricted scopes from the API Portal.

What do the Active, Optional, and Restricted states mean?

Each scope on a plan gets one state, which decides how a subscriber receives it.

StateBehavior
ActiveEvery subscriber receives this automatically.
OptionalSubscribers can request this.
RestrictedRequires approval with business justification.

What do you need before you start?

  1. Scope-based access control enabled on your account, shown by the Scopes banner.
  2. A connected authorization server, Keycloak or Auth0, under Integrations → Authorization Servers.
  3. Scopes defined for your APIs under Catalog → Resource Groups.

Where to start