mozilla-iam / mozilla.oidc.accessproxy

Stand-alone OIDC Access Proxy
Mozilla Public License 2.0
12 stars 10 forks source link

Pin lua-resty-openidc to version 1.6.1 #36

Closed gene1wood closed 5 years ago

gene1wood commented 5 years ago

Workaround lua-resty-openidc bug zmartzone/lua-resty-openidc#249

gene1wood commented 5 years ago

@gdestuynder I encountered the bug described in zmartzone/lua-resty-openidc#249 in MozDef. I entered the mozilla.oidc.accessproxy docker container and downgraded the module

# opm get zmartzone/lua-resty-openidc=1.6.1
* Fetching zmartzone/lua-resty-openidc = 1.6.1
  Downloading https://opm.openresty.org/api/pkg/tarball/zmartzone/lua-resty-openidc-1.6.1.opm.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 24740  100 24740    0     0  22131      0  0:00:01  0:00:01 --:--:-- 22148
Package lua-resty-http-0.12 already installed.
Package lua-resty-jwt-0.2.0 already installed.
Package lua-resty-session-2.23 already installed.
Package zmartzone/lua-resty-openidc 1.7.0 removed successfully.
Package zmartzone/lua-resty-openidc 1.6.1 installed successfully under /usr/local/openresty/site/ .

I HUP'd nginx and the problem was resolved.

gdestuynder commented 5 years ago

@gene1wood thanks - have you tried their setting idea as well?

gene1wood commented 5 years ago

have you tried their setting idea as well?

I've not, maybe after going back to 1.6.1 we can see how to move forward with their idea