Closed heissonwillen closed 1 month ago
@heissonwillen hi, actually in current state of design (currently for one param you can specify only one allowed value) it would probably make sense to make allowed_query_params values, if specified, to be also default query params
I thought about this, but it would be a breaking change. Would that be ok?
will think about it
created 2.12.0-rc1 there is also image, you can try, added default-allowed-query-params
option, there is 2.12.0-rc1 image
Tried it and it works fine. Thank you very much!
Add Default Query Parameters for Authentication
Summary
I have an use case in which I need a default query parameter for my IdP. The idea is pretty similar to
--allowed-query-params
, but I wouldn't need to first send the parameters to the gatekeeper when performing a request.Although it's possible to accomplish this on an ingress / reverse-proxy / middleware level, it would be nice to have this directly on the gatekeeper.
Why?
How
--allowed-query-params
.Acceptance criteria
It is possible to define default query parameters to the IdP using the gatekeeper configuration, using both the command line and the configuration file.
Additional Information
Does this make sense to you @p53? If it does, I can work on it over the weekend.