Skip to content

OpenidApi and WellKnownApi #2295

@balsemindevis

Description

@balsemindevis

Describe the bug
OpenidApi and WellKnownApi have coded the wrongLocalPath.
String localVarPath = "/openid/v1/jwks/";

and String localVarPath = "/.well-known/openid-configuration/";

The last "/" generate an 403 Response.

I have remove Last "/" in both file and works fine

Client Version
15.0.1

Java Version

Java 17

To Reproduce

httpStatus:403
curl --cacert ${CACERT} --header "Authorization: Bearer ${TOKEN}" -X GET ${APISERVER}/.well-known/openid-configuration/

httpStatus:200
curl --cacert ${CACERT} --header "Authorization: Bearer ${TOKEN}" -X GET ${APISERVER}/.well-known/openid-configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions