I noticed that the config schema had the params for redirect_uri_path, but the plugin wasn't passing it through to lua-resty-openidc. This updates it so that it will utilize the config if it is set, and otherwise fallback to the original behavior.
My use case for this is that I am trying to integrate with identityserver.io, which has very strict restrictions on the redirect_uri (for good reasons), and thus it becomes near impossible because all API uris must be registered. This allows for registering just a single endpoint that is used as the callback, which will autoforward to the originally requested uri as done by lua-resty-openidc.
Hello!
I noticed that the config schema had the params for
redirect_uri_path
, but the plugin wasn't passing it through tolua-resty-openidc
. This updates it so that it will utilize the config if it is set, and otherwise fallback to the original behavior.My use case for this is that I am trying to integrate with
identityserver.io
, which has very strict restrictions on theredirect_uri
(for good reasons), and thus it becomes near impossible because all API uris must be registered. This allows for registering just a single endpoint that is used as the callback, which will autoforward to the originally requested uri as done bylua-resty-openidc
.