Backstage · Capability

Backstage Auth API — Token Verification

Backstage Auth API — Token Verification. 1 operations. Lead operation: Backstage Get JSON Web Key Set. Self-contained Naftiko capability covering one Backstage business surface.

Run with Naftiko BackstageToken Verification

What You Can Do

GET
Getjwks — Backstage Get JSON Web Key Set
/v1/well-known/backstage/auth/v1/jwks-json

MCP Tools

backstage-get-json-web-key

Backstage Get JSON Web Key Set

read-only idempotent

Capability Spec

auth-token-verification.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Backstage Auth API — Token Verification
  description: 'Backstage Auth API — Token Verification. 1 operations. Lead operation: Backstage Get JSON Web Key Set. Self-contained
    Naftiko capability covering one Backstage business surface.'
  tags:
  - Backstage
  - Token Verification
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BACKSTAGE_API_KEY: BACKSTAGE_API_KEY
capability:
  consumes:
  - type: http
    namespace: auth-token-verification
    baseUri: https://localhost:7007/api/auth
    description: Backstage Auth API — Token Verification business capability. Self-contained, no shared references.
    resources:
    - name: .well-known-backstage-auth-v1-jwks.json
      path: /.well-known/backstage/auth/v1/jwks.json
      operations:
      - name: getjwks
        method: GET
        description: Backstage Get JSON Web Key Set
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.BACKSTAGE_API_KEY}}'
  exposes:
  - type: rest
    namespace: auth-token-verification-rest
    port: 8080
    description: REST adapter for Backstage Auth API — Token Verification. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/well-known/backstage/auth/v1/jwks-json
      name: well-known-backstage-auth-v1-jwks-json
      description: REST surface for .well-known-backstage-auth-v1-jwks.json.
      operations:
      - method: GET
        name: getjwks
        description: Backstage Get JSON Web Key Set
        call: auth-token-verification.getjwks
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: auth-token-verification-mcp
    port: 9090
    transport: http
    description: MCP adapter for Backstage Auth API — Token Verification. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: backstage-get-json-web-key
      description: Backstage Get JSON Web Key Set
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: auth-token-verification.getjwks
      outputParameters:
      - type: object
        mapping: $.