Open pehala opened 1 week ago
The documentation is yet to be updated in my PR #76 to remove mention of the /.well-known/openid-configuration
path.
But I agree with you that the oas that is parsed by kuadrantctl should be compatible with oas that is used elsewhere. Like you mention in the Swagger docs the well-known path is used. I would expect kuadrantctl can parse it without an issue.
Link to relevant discussion with @guicassolato https://github.com/Kuadrant/kuadrantctl/pull/76#discussion_r1592769112
Both Swagger Docs and our own docs state that you should supply openid-configuration endpoint in OAS like this:
Kuadrantctl directly passes this value to AuthPolicy issuerUrl field, which requires issuerUrl and not openid-configuration.
Tested version: 0.2.3
Reproducer: Input:
Output: