Open mrestivill opened 1 year ago
Actual behavior:
expected generated source should be:
service:
plugins:
- name: openid-connect
config:
required_scopes:
- api
routes:
- path: /api/protected/mock
plugins:
- name: openic-connect
config:
required_scopes:
- protected
on the route it is required the api required_scopes
Expected Behavior
the expected generated source should be:
Actual Behavior
When using Insomnia to generate deck configuration with x-kong-security-openid-connect extension the generated file does not have the required scopes needed and specified by original openapi specifications.
The output from the generation is:
The generated source is protected by the specific scope but not by the global scope
Reproduction Steps
Is there an existing issue for this?
Additional Information
Use the following yaml to generate deck file (kong.yaml):
Insomnia Version
2023.1.0
What operating system are you using?
Windows
Operating System Version
Windows 10 Enterprise 21H2
Installation method
download from insomnia website and install
Last Known Working Insomnia version
No response