wso2 / api-manager

All issues, tasks, improvements and new features of WSO2 API Manager
Apache License 2.0
34 stars 8 forks source link

Scope Validation is not functioning when having a wild card resource. #3307

Open dilshanfardil opened 5 days ago

dilshanfardil commented 5 days ago

Description

Description

Hi Team,

We are encountering an issue where scope validation is not functioning correctly when using a wildcard resource alongside a resource with a path parameter in the API.

Steps to Reproduce

  1. Create sample Rest API
  2. Create two local scopes
  3. Create the resources with below details

Resource One

/* Scope A

Resource Two

/resource-with-path-param/{path-param} Scope B

Resource Three

/resource-only Scope B

Results while Invoking the API with correct scope

Affected Component

APIM

Version

4.2.0

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

lyalaman commented 4 hours ago

Thanks for opening this as a Bug