wso2 / wso2/api-platform

[Task]: New MCP Auth param for advertise scopes instead of requiredScopes

Open
#3,016 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Aspect/Configuration Type/Task
Dominant language
Go
Stars
71
Forks
111
Avg merge
1d 14h
Merged PRs (30d)
110

Description

Please select the area the issue is related to

Gateway

Please select the aspect the issue is related to

Aspect/Configuration (Config files, settings, env vars, defaults)

Description
    - name: mcp-auth
      version: v1
      params:
        issuers:
          - PrimaryIDP
        requiredScopes: # deprecate
          - mcp:read
          - mcp:write

        # Option 1:
        advertisedScopes:
          - mcp:read
          - mcp:write

        # Option 2:
        advertise:
          scopes:
            - mcp:read
            - mcp:write

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the Gateway configuration handling for the mcp-auth component and trace how requiredScopes is currently read. Resolve whether advertisedScopes or advertise.scopes is the intended parameter, then confirm the chosen setting advertises the scopes while requiredScopes is deprecated; the issue names no files or tests to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.